[rrd-developers] Bug or gross stupidity: cannot alter size of RRAs with Thu Apr 24 CVS snapshot.
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Sat Apr 26 09:50:00 MEST 2003
Dear Ladies and Gentlemen,
I am writing to report what is either a problem with me or with the CVS
snapshot of Apr 24.
I would like to remodel my RRDs by removing the H-W RRAs, and extending
the 'traditional' RRAs whiie preserving the RRD data.
Unfortunately, eiher rrdtool resize or info don't work as I expect.
eg
pc09011> rrdtool info nwUsage_tssyd.rrd | grep 'rra\[0\]\.rows'
rra[0].rows = 2016
pc09011> rrdtool resize nwUsage_tssyd.rrd 0 GROW 8000
pc09011> rrdtool info nwUsage_tssyd.rrd | grep 'rra\[0\]\.rows'
rra[0].rows = 2016
I was hoping that rows would increase to either 8000 or 10,016.
pc09011> rrdtool resize nwUsage_tssyd.rrd 0 SHRINK 1000
pc09011> rrdtool info nwUsage_tssyd.rrd | grep 'rra\[0\]\.rows'
rra[0].rows = 2016
again, rows would be 1000 or 1,016 after the resize.
There is only one rrdtool binary on this system.
truss doesn't show anything that seems abnormal,
.. snip ..
read(0x3,0x80d4000,0x2000) = 0 (0x0)
write(4,0x80dd000,5872) = 5872 (0x16f0)
lseek(4,0x688,0) = 1672 (0x688)
write(4,0x80dd000,1188) = 1188 (0x4a4)
lseek(4,0xb34,0) = 2868 (0xb34)
lseek(4,0x10e4,0) = 4324 (0x10e4)
lseek(4,0x3d94,0) = 15764 (0x3d94)
write(4,0x80dd000,44) = 44 (0x2c)
close(4) = 0 (0x0)
close(3) = 0 (0x0)
exit(0x0) process exit, rval = 0
The only thing that seems peculiar is that ls -l doesn't show any change
in the date and time of the RRD file.
Please let me know what other information will be useful.
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list