Amanda-Users

Re: downgrading

2003-02-20 19:04:11
Subject: Re: downgrading
From: rwong AT mrs.mni.mcgill DOT ca
To: Jon LaBadie <jon AT jgcomp DOT com>
Date: Thu, 20 Feb 2003 17:50:20 -0500 (EST)
This is what I did at the shell...

# Pop in a tape.
% mt -f /dev/nst0 rewind
% mt -f /dev/nst0 fsf 1
% dd if=/dev/nst0 skip=1 bs=32k | tar tvf -
dd: reading `/dev/nst0': Input/output error
0+0 records in
0+0 records out

# Let's try another file marker on the same tape.
% mt -f /dev/nst0 rewind
% mt -f /dev/nst0 fsf 10   # I just want to look at the file header.
% dd if=/dev/nst0 count=1 bs=32k
AMANDA: FILE 20030213 host1 /boot lev 1 comp N program /bin/gtar
To restore, position tape at start of file and run:
        dd if=<tape> bs=32k skip=1 | /bin/gtar -f... -

1+0 records in
1+0 records out


On the first dd attempt, this showed up in the log:
Feb 20 17:30:24 host1 kernel: st0: Error with sense data: Info fld=0x8000, 
Current st09:00: sense key Medium Error
Feb 20 17:30:24 host1 kernel: Additional sense indicates Recorded entity not 
found


I can read the other file markers...except file marker 1.

robin



On Thu, 20 Feb 2003, Jon LaBadie wrote:

> > If I attempt to access file markers greater than 1, I don't have any 
> > problems and there are no syslog messages.  But if i attempt to access 
> > file 1, it keels over and I get messages in syslog.
> 
> Would you describe what you are doing to access file 1?
> Give the command line, output, and messages.
> 
> 


<Prev in Thread] Current Thread [Next in Thread>