1826317 Members
4014 Online
109692 Solutions
New Discussion

System error

 
SOLVED
Go to solution
peterchu
Super Advisor

System error

I found that sometimes when I use the command , for example,

# cpio -ivcdBum < /dev/st0
Out of phase--get help
Perhaps the "-c" option should be used

If I re-submit the command ( omit the parameter "c" ) , it still pop the same error even I logout and login again.

# cpio -ivdBum < /dev/st0
Out of phase--get help
Perhaps the "-c" option should be used

I think the system do not clear the error memory , could suggest what can I do ? thx
1 REPLY 1
James A. Donovan
Honored Contributor
Solution

Re: System error

cpio -i could not read the header of an archived file. The
header is corrupt or it was written in a different format.
Without the R option, cpio returns an exit code of 2.
If no file name has been displayed yet, the problem may be the format. Try specifying a different header format option: null for standard format; c for ASCII; b, s, P, or S, for one of the byte-swapping formats; or 6 for UNIX Sixth Edition.

Otherwise, a header may be corrupt. Use the R option to have cpio attempt to resynchronize the file automatically. Resynchronizing means that cpio tries to find the next good header in the archive file and continues processing from there.

If cpio tries to resynchronize from being out of phase, it returns an exit code of 1.
Remember, wherever you go, there you are...