RRDtool: 32bit to 64bit?

RRDtool: 32bit to 64bit?

While playing around with creating some statistics from several servers I came to the following problem:

[warning]ERROR: This RRD was created on other architecture[/warning]

The problem was simple, the file was created on a 32 bit machine and I was trying to access it on a 64 bit machine.
The fix for this is quite simple but due to Google being a pain from time to time it took me some time to find the solution.
Therefor I’m posting it for later use 🙂

The steps are easy, first we dump the file into XML and then we convert it back to RRD.

rrdtool dump FILE.rrd > FILE.xml
rrdtool restore -f FILE.xml FILE.rrd

To make sure everything works u can run the following command:

rrdtool info FILE.rrd

Good luck 🙂

Comments are closed.