Amanda-Users

Re: Restore WO Amanda, what am I doing wrong?

2006-03-30 01:42:36
Subject: Re: Restore WO Amanda, what am I doing wrong?
From: Michael Loftis <mloftis AT wgops DOT com>
To: stan <stanb AT panix DOT com>, amanda users list <amanda-users AT amanda DOT org>
Date: Wed, 29 Mar 2006 23:36:37 -0700
use /dev/nst instead.  /dev/st rewinds when you close.

--On March 29, 2006 10:52:57 PM -0500 stan <stanb AT panix DOT com> wrote:

I'm trying to bootstrap replacing a failed Amanda machine.

I've built the new machine, and moslty got it working.
So, it's time to get the config files, and maybe indexes
off of the tapes from the faile machine.

I looked in the docs, and this should be simple. But:


Script started on Thu Mar 30 03:41:04 2006
# mt -f /dev/st1 rewind
# mt -f /dev/st1 fsf 1
# dd if=/dev/st1 bs=32k count=1
AMANDA: TAPESTART DATE 20051216 TAPE DailyDump74
1+0 records out
32768 bytes transferred in 5.310011 seconds (6171 bytes/sec)
# dd if=/dev/st1 bs=32k count=1root@ubuntu:~# mt -f /dev/st1 fsf 1
# mt -f /dev/st1 fsf 1 root@ubuntu:~# dd if=/dev/st1 bs=32k count=1
AMANDA: TAPESTART DATE 20051216 TAPE DailyDump74
1+0 records out
32768 bytes transferred in 5.323727 seconds (6155 bytes/sec)
# dd if=/dev/st1 bs=32k count=1root@ubuntu:~# mt -f /dev/st1 fsf 1
# mt -f /dev/st1 fsf 1 root@ubuntu:~# dd if=/dev/st1 bs=32k count=1
AMANDA: TAPESTART DATE 20051216 TAPE DailyDump74
1+0 records out
32768 bytes transferred in 5.318464 seconds (6161 bytes/sec)
dd if=/dev/st1 bs=32k count=1root@ubuntu:~# mt -f /dev/st1 fsf 1  
2
# mt -f /dev/st1 fsf 2root@ubuntu:~# dd if=/dev/st1 bs=32k count=1
AMANDA: TAPESTART DATE 20051216 TAPE DailyDump74

1+0 records out
32768 bytes transferred in 5.313033 seconds (6167 bytes/sec)
]0;root@ubuntu: ~root@ubuntu:~#
Script done on Thu Mar 30 03:45:44 2006

As you can see, even when I move the tape foward, all I get is the tape
header. This is not what I _think_ I should be getting.

What am I doing wrong?

--
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite
Vietcong Terror  - New York Times 9/3/1967





--
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler