Tape Drive Woes

Tags:

Hello all!

I am trying to read some old 8mm Exabyte tapes with data presumeably written from/for Unix. The label says it's in unix tar format and that there are 4 files on the tape. Here is what happens when I try to list the 1st file's file-type:

user@pc-linux:~$ sudo mt -f /dev/nst0 status
drive type = Generic SCSI-2 tape
drive status = 335545344
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 1024 bytes. Density code 0x14 (EXB-8200 (RLL 43245 bpi)).
Soft error count since last status=0
General status bits on (45010000):
BOT WR_PROT ONLINE IM_REP_EN
user@pc-linux:~$ sudo mt -f /dev/nst0 setblk 1024
user@pc-linux:~$ sudo file - *LESSTHANSYMBOL* /dev/nst0
bash: /dev/nst0: Permission denied
user@pc-linux:~$ sudo tar tvf /dev/nst0
tar: /dev/nst0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
user@pc-linux:~$

If I advance to the next file, I get the same result. I also get the same result with other (Linux tar) tapes. I am by no means a Linux expert, so I would appreciate any insight into what these errors are referring to and if there is a fix for my problem.

Thanks,
Leigh Johnson

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Tape Drive Woes

Could you use 'su' instead of 'sudo' just to make sure the 'sudo' environment is not causing problems? 'sudo' users can be limited in their abilities (which is deliberate).

Tape Drive Woes

You could try reading the tapes with cpio, which can read tar-format tapes.

The command would be something like:
cpio -idmuv --blocksize=1024 </dev/nst0

afio might also be an option, but I've never used it.

$world=~s/war/peace/g;

Syndicate content