1830997 Members
2544 Online
110018 Solutions
New Discussion

Tar problem

 
SOLVED
Go to solution
Ivajlo Yanakiev
Respected Contributor

Tar problem

HI all,

I have multi tapes tar archive.
When I try to restore I get I/O error from first tape and tar exit. Can I restore files form other tapes ?
5 REPLIES 5
Rick Garland
Honored Contributor

Re: Tar problem

You can try to restore from the other tapes. No guarantee they will work.

Clean the tape drive you are trying to use. You may want to try the restore on a different tape drive as well.
Rick Garland
Honored Contributor

Re: Tar problem

My bad - these are multiple tapes.
The answer is no. Without that 1st tape tar doesn't know where to stop and start.

Clean the drive and try again. Try a different drive. What is the DDS rev level of the tapes and the drive? (Are you trying DDS4 tapes in a DDS3 tape drive?)
Ivajlo Yanakiev
Respected Contributor

Re: Tar problem

Thanks.
I try different drive.
Also I try different O/S.
tape is DDS3 drive is DAT24/6
Muthukumar_5
Honored Contributor
Solution

Re: Tar problem

We can extract files on tape drives multiply with different shells. By default tar file gets extract only one file at once.

If one files get error it will not progress.

Example to do multiple extraction then,

five tar files.
---------------

tar1.tar tar2.tar .....

ls *.tar | awk '{ print "tar -xvf "$1 }' | sh
It will extract everything. And won't care about others.

You can simulate this to tape files too.
Easy to suggest when don't know about the problem!
Ivajlo Yanakiev
Respected Contributor

Re: Tar problem

Yes you are right.
But the problem is that I have only one big tar file , creat by

tar -cmvf /dev/st0 /