- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio -ovmB returns exit code of "2"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 09:53 AM
тАО10-31-2001 09:53 AM
cpio -ovmB returns exit code of "2"
I'm running my daily backup using the cpio
-ovmB command. Occasionally the backup will have a return value of "2".
I looked at the man page for cpio and the explaination of return value of "2" is:
"Out-of-phase error. A file header is corrupt or in the wrong format."
I have seen this message before, but only when I tried restoring data.
I guess this is my question. Can someone explain to me why on a backup I'm getting this file header is corrupt or in the wrong format return code? To me, if I'm making the backup I should be creating the file header. Why would it be corrupt or in the wrong format? It works other nights without a problem.
I know this problem is very general, but any info you could give me would be appreciated.
Thanks
Kirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 10:02 AM
тАО10-31-2001 10:02 AM
Re: cpio -ovmB returns exit code of "2"
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 10:15 AM
тАО10-31-2001 10:15 AM
Re: cpio -ovmB returns exit code of "2"
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 10:23 AM
тАО10-31-2001 10:23 AM
Re: cpio -ovmB returns exit code of "2"
An out of phase error means:
quote //
The Out of phase message in the middle of a restore indicates that cpio has encountered a portion of the tape that it cannot read.
This has caused cpio to lose its place. cpio needs instructions from the operator to resync to the next file since there will be data loss.
The way to recover is to reinvoke cpio the same as before, but add the -R option.
If it is possible to resync to the next file header, it will be done. The file that contains the bad spot will be lost.
//unquote
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2001 11:36 AM
тАО10-31-2001 11:36 AM