Folks, I just had this exchange with Daniel Dulac on rrd-users. It seems that either the way the binaries are compiled is giving problems or there is some issue with the way scanf works on win. I can not replroduce this on unix ...
any ideas tobi > 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:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 5:51 PM > To: MacLeod, Jase A. > Cc: [email protected] > 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
