[rrd-users] About rrdtool dump method

Wagner Pereira wpereira at pop-sp.rnp.br
Tue Jun 22 17:45:57 CEST 2010


Eduardo,

You're right. At 10:44 in the morning the .rrd file had zero size, for sure.

But take a look:

-------------------
-rw-r--r-- 1 www-data www-data  94664 Jun 22 10:40 alpine_traffic_in_29.rrd
-------------------

At 10:40 that same file had more than 94K weight.

So....after I did run this rrdtool command (below), the file was reduced 
to zero lenght.

-------------------
cacti:/var/lib/cacti/rra# rrdtool dump alpine_traffic_in_29.rrd > 
alpine_traffic_in_29.rrd
ERROR: mmaping file 'alpine_traffic_in_29.rrd': Invalid argument
-------------------

No problem, I can resolve my migration copying my rrd files, by hand, 
one @ a time! This works very well, although the hard work...

Att,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
fone at RNP: 011 10158902


Em 22/6/2010 11:17, Eduardo Bragatto escreveu:
> Hi Wagner,
>
> if your "ls" output is correct, the file you're trying to dump is empty:
>
> -rw-r--r-- 1 www-data www-data      0 Jun 22 10:44 
> alpine_traffic_in_29.rrd
>
> It says size 0.
>
> - Eduardo



More information about the rrd-users mailing list