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 🙂

Niels Engelen on GithubNiels Engelen on Twitter
Niels Engelen
Working as a Principal Analyst in Product Management for Veeam Software with an interest in anything virtual and cloud with a strong focus on AWS, Azure and Microsoft 365. He is also a VMware Certified Professional, a Veeam Certified Architect and gained the VMware vExpert award (2012-2022).
Comments are closed.