[rrd-users] Re: dump/restore appears broken

Dulac, Daniel (Dan) ddulac at aprisma.com
Wed Aug 6 16:33:14 MEST 2003


Hi guys,

I have included a small section of the diff file generated between the two
xml files.  As you can see, the data is getting corrupted with extremely
large positive and negative values....We tested with 1.0.45 on windows and
still see this issue.  We are currently going to try 1.0.42 and we confirmed
that 1.0.33 works fine...

132,133c132,133
< 		<last_ds>  </last_ds>			 (new)
< 		<value> -6.2491389989e+024 </value>  (new)
---
> 		<last_ds> 32959751 </last_ds>		 (original)
> 		<value> 1.0793353333e+004 </value>   (original)
145,146c145,146
< 		<last_ds>  </last_ds>			 (new)
< 		<value> -1.7249051319e-097 </value>  (new)
---
> 		<last_ds> 15247934 </last_ds> 	 (original)
> 		<value> 3.5637900000e+003 </value>   (original)

The data is like this all throughout the diff file.  Something strange is
going on during the restore....It appears this is only an issue on Windows.
Hope you can help.

Thanks,
DanDulac

-----Original Message-----
From: Tobias Oetiker [mailto:oetiker at ee.ethz.ch] 
Sent: Tuesday, August 05, 2003 5:51 PM
To: MacLeod, Jase A.
Cc: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: dump/restore appears broken

Today MacLeod, Jase A. wrote:

> Dan,
>
> I attempted the same thing as you did.
> I currently run 1.0.33 but was testing 1.0.40.
>
> With 1.0.33 I dumped an rrd and restored with the following results...
> dumped  test.rrd (502,524 bytes) -> test1.xml (1,607,865 bytes)
> restore test1.xml                -> test1.rrd (502,524 bytes)
> dumped  test1.rrd                -> test2.xml (1,607,865 bytes)
> restore test2.xml                -> test2.rrd (502,524 bytes)
> etc etc..
>
> With 1.0.40 I dumped an rrd and restores with the following results...
> dumped  test.rrd (502,524 bytes) -> test1.xml (1,607,865 bytes)
> restore test1.xml                -> test1.rrd (502,621 bytes)
> dumped  test1.rrd                -> test2.xml (1,890,564 bytes)
> restore test2.xml                -> test2.rrd (503,333 bytes)
>
> Thus it appears to be a problem with the restore command due to the
> first dump having the exact same byte count.
>

Hi Jase,

How about using rrdtool 1.0.45 ?

You caould run diff -u on the two xml files to see what the
difference is

gruss
tobi


-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list