Operating System - HP-UX
1833777 Members
2199 Online
110063 Solutions
New Discussion

Tape restore Unsuccessful

 
Shermaine Yvonne Tan
Occasional Advisor

Tape restore Unsuccessful

I'm performing a remote restore from the SDLT tape but upon executing the following command I had not enough space error. How can i resolve this. Is the tape corrupted?

remsh esx002 "dd if=/dev/rmt/1m ibs=10k" | tar xvf - 12 13 14

read: Not enough space
0+0 records in
0+0 records out
Tar: blocksize = 0; broken pipe?
5 REPLIES 5
Mobeen_1
Esteemed Contributor

Re: Tape restore Unsuccessful

Shermaine,
Could you make sure that there is enough space on your destination file system ?

regards
Mobeen
Shermaine Yvonne Tan
Occasional Advisor

Re: Tape restore Unsuccessful

Yes there's enough space in the destination, I had even tried to perform direct instead of remote and the error persist.

Re: Tape restore Unsuccessful

it's has missing the last "

or check the parameter -n for remsh command
harry d brown jr
Honored Contributor

Re: Tape restore Unsuccessful

always test your piping first:

remsh esx002 "dd if=/dev/rmt/1m ibs=10k" | tar -tvf -

Most importantly, why are you setting ibs and not setting obs? Was the backup done using 10K blocks?

live free or die
harry d brown jr
Live Free or Die
Shermaine Yvonne Tan
Occasional Advisor

Re: Tape restore Unsuccessful

I had verified that the command I supply is working I had managed to restore file using this format as well. And there's no missing "
Thanks for all the kind response so far. I'm wondering if this could be a sign of tape corrupted?