1824351 Members
3564 Online
109669 Solutions
New Discussion юеВ

tar x /dev/rmt/xxx fails

 
Claudia Krackow
New Member

tar x /dev/rmt/xxx fails

I can copy files , but i can not restored.
Tar xvf fail with I/O error
5 REPLIES 5
Devender Khatana
Honored Contributor

Re: tar x /dev/rmt/xxx fails

Hi,

Can you do display of the contents of the tape using

tar tvf /dev/rmt/xxx

This is also possible if you are using no rewind device for backup & try to restore without rewinding device after backup.

HTH,
Devender
Impossible itself mentions "I m possible"
Bill Hassell
Honored Contributor

Re: tar x /dev/rmt/xxx fails

I/O error means that the tape cannot be read. There is no workaround, the tapes or the tape drive must be replaced


Bill Hassell, sysadmin
D Block 2
Respected Contributor

Re: tar x /dev/rmt/xxx fails

how do you know you can 'copy' files to tape ?

on your tape device do a:

dd if= of=/dev/null
do you get an error from tape device ?
Golf is a Good Walk Spoiled, Mark Twain.
D Block 2
Respected Contributor

Re: tar x /dev/rmt/xxx fails

can you see the tape device rewind ? before you run the tar xvf ?

what tape device are you using ?

/dev/rmt/0m
/dev/rmt/0mn
Golf is a Good Walk Spoiled, Mark Twain.
Eknath
Trusted Contributor

Re: tar x /dev/rmt/xxx fails

Hi,

Try changing the DAT(or tape). Are you using the same device for restoring. if no then check for comatibility of drives(or tapes) or clean the drive you are using for restore.

cheers!!!
eknath