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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CPIO does not work.... Please hellp!

Status
Not open for further replies.

Rosti

Programmer
Mar 5, 2002
46
0
0
US
Greetings.
I am using this command to put our backup data to tape device:
cpio -ovcumdBa </mnt5/backuplist.par >$outputdevice

When I wont to bring the data back from the tape, I am using this command:
cpio -ivcmdluB </dev/rmt/0m usr/dcr/star/file.name

It looks that is does something during execution of this command, but then when it finishes, I cannot see any files!
It worked about a half year ago. Now it does not!
What it can be?
Thanks in advance!
 
try doing just a
cpio -itv < /dev/rmt/0m
and see what the filenames look like.
usr <> /usr <> ./usr
 
I did this:
cpio -itvcr < /dev/rmt/0m
Then I am recieving the following:
cpio: Out of phase; resynching.
cpio: Re-syncedafter skipping 694048 bytes
And then it repeats line after line, but with different ammount of bytes and then it looks like it shows some files, and then it repeats again. Is anything wrong with it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top