Hi,
I was using amanda 2.6.1p1 in a Dell Poweredge 2950 server, running openSuSE 10.2 i586 (32 bits).
Everything was fine, except the OS becomes obsolete and I had to move to a more recent OS. Then I choose CentOS 5.4 x86_64 (64 bits).
I made a separate backup on CD-R (ISO-9660) and on a tape using tar of /etc/amanda and /var/lib/amanda.
After installed CentOS I installed amanda from scratch using the proper package amanda-backup_server-2.6.1p1-1.rhel5.rpm, same version as used before.
Using the configuration files saved previously, I restored the amanda.conf, disklist, advanced.conf and I was ready to go in minutes.
Again, everything is working just fine. I start a new backup set, starting from the first tape and amanda set all DLEs to make the first backup at level 0 (full dump) and after this, it started to make incremental. fine.
The problem is I can NOT ready any tape written on my previous OS.
The command "dd" returns:
Code:
mt rewind; dd if=$TAPE bs=32k count=1
dd: reading `/dev/nst0': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 20.8385 seconds, 0.0 kB/s
If a use a tape labeled on the new system, I got the valid header, as expected, no problem:
Code:
mt rewind; dd if=$TAPE bs=32k count=1
AMANDA: TAPESTART DATE X TAPE regular-03
1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 11.3031 seconds, 2.9 kB/s
So I am wondering if amanda or dd are OS or architeture (32/64 bits) dependent ?
Because the OS is the only thing was changed. the hardware is the same, the tapes are the same, the amanda is the same, the amanda configuration files are the same....
I need to recover some important files from the previous set so an answer for this issue is so important to me...