Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cpio restore I/O read error 1

Status
Not open for further replies.

StamaMan

Technical User
Dec 3, 2003
14
0
0
GB
Hi

I am trying to resolve a problem on a sco unix box in the Falklands. I have just received a backup from them to load onto my box so that I can try to resolve their problem.

The command I use to restore the data is cpio -idcuvB < /dev/rStp1

The tape device engages but I get the error message
cpio: I/O error on read()
I get the same error if I try to read the tape cpio -ivt < /dev/rStp1

Any help/advice would be much appreciated.

Stamaman

 
Assuming the tape is at room temperature, try a:
tape reten /dev/xStp1
then retry the cpio -itv < /dev/rStp1.

if it still fails:
- try it on a different tape drive.
- get another backup.
 
You may also explore the dd command and try to move the raw data file to disk. Then try the cpio from the disk file.
 
Hello,
Are you sure it's a cpio tape ? Just out of curiosity try the &quot;tar tvf /dev/<your device>&quot; command and see what happens.

Rob
 
What is the output of |code] dtype /dev/rStp1 [/code] ?
 
do you get an i/o error if you try to:
cat /dev/rStp1 | more
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top