Category Archives: AMANDA

Anything related to the Advanced Maryland Automatic Network Disk Archiver, AMANDA.

Replacing drives on AMANDA server

I spent some days last week converting our 32-bit AMANDA server to a 64-bit counterpart using spare but aged hardware. The former AMANDA server ran on very aged hardware in comparison. Going 64-bit also ment turning to ZFS-based storage.

Today, I replaced the two 320 GB first generation SATA drives with two 1 TB third generation SATA drives. The new drives, like their predecessors, are connected to the second generation SATA controller on the motherboard. Replacing the drives is nevertheless an improvement. Continue reading Replacing drives on AMANDA server

AMANDA 3.3.2 and #undef bool

I upgraded a stable/8 i386 system and switched from lang/perl5.16 to lang/perl5.20 only to experience problems with swig generated code for AMANDA. I have confirmed this behaviour on stable/9 amd64 too.

I found 17 files containing these three lines:

#ifdef bool
#undef bool
#endif

This results in error messages such as:

Amanda/Application.c: In function 'SWIG_AsCharPtrAndSize':
Amanda/Application.c:1580: error: 'bool' undeclared (first use in this function)
Amanda/Application.c:1580: note: each undeclared identifier is reported only once for each function it appears in
Amanda/Application.c:1580: error: expected ':' before numeric constant

Continue reading AMANDA 3.3.2 and #undef bool

Up and running again late in December 2011

Sorry for the nearly two week absence. This web server’s 10 year old hard drive developed too many faults between December 9th and 10th, and the system became rather useless. The wonky hard drive was replaced with a brand new one this week. Nothing important got lost thanks to AMANDA and a fair number of backup tapes. Eventually the server will be restored to its former glory.

However, a new and fast server is in the works, possibly with a mirrored ZFS root pool on 2 drives and a ZFS raidz1 data pool on 3 drives. I doubt I can make the switch before sometime in early or mid January 2012.

I wish you all a merry Christmas and a happy New Year.

By the way, those of you who are geared towards computer science might want to watch Don Knuth‘s 17th Annual Christmas Tree Lecture entitled “Bayesian Trees and BDDs“.