On Tue, 15 Jan 2002 at 1:08pm, Brad Groshok wrote

> I had been running amanda 2.4.2p2 on a SunSparc Ultra 2
> backing up to a DLT2000 drive.
> 
> amverify ody shows:
>   Using device /dev/rmt/0bn
>   ** Error reading label on tape   
>   Errors found: 
>   0+0 records in
>   0+0 records out
> 
> amrestore ody shows:
>   amrestore: could not open tape ody: No such file or directory

That's not the proper syntax to amrestore.  It needs to know the tape 
device, i.e. 'amrestore /dev/rmt/0bn'.  It doesn't care about a config 
file.

> any other methods of getting info from this tape.
> (dd ufsrestore etc)(I've tried, but no sucess)

Are you using the correct device?  Were you using hardware compression 
before?  Do you need the 'b' in there?

Try this:

mt rewind
mt fsf 1 (the first file on the tape is just an AMANDA tape header)
dd if=/dev/rmt/0bn of=image1.header bs=32k count=1

The file image1.header should then contain a string indicating the date, 
time, level, client, filesystem, etc of the backup.  You can grab the rest 
of the image by doing:

dd if=/dev/rmt/0bn of=image1 bs=32k

Or, to just grab the image directly, do this in place of the first 'dd' 
command above:

dd if=/dev/rmt/0bn of=image1 bs=32k skip=1

Then try ufsrestore on your image1 file.

If you can't read the tapes from that device, try 0n, 0cn, or 0bcn.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to