- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cpio error
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
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
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
11-22-2002 09:30 AM
11-22-2002 09:30 AM
cpio error
I am trying to run cpio cammand but getting the following error,
cpio -icvt < /dev/rmt/0m
Out of phase--get help
Perhaps the "-c" option shouldn't be used
Can someone have an idea how to resolve this issue
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 09:35 AM
11-22-2002 09:35 AM
Re: cpio error
Out of phase--get help
Perhaps the "c" option should[n't] be used
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.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 09:39 AM
11-22-2002 09:39 AM
Re: cpio error
# man cpio (and check R option)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 09:56 AM
11-22-2002 09:56 AM
Re: cpio error
Did your test.
Try it yourself:
echo /dev/null | cpio -o | cpio -icvt
1 blocks
Out of phase--get help
Perhaps the "-c" option shouldn't be used
So, do as it wish:
echo /dev/null | cpio -o | cpio -ivt
1 blocks
1 blocks
Check description of '-c' option in 'man cpio'.
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 10:11 AM
11-22-2002 10:11 AM
Re: cpio error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 11:45 AM
11-22-2002 11:45 AM
Re: cpio error
On the few flavors of Unix I've fooled with, the -B option for cpio specifies a 5120 byte block size. That option is valid for the cpio in HP-UX also. Have you tried something like this:?
cpio -icvtB < /dev/rmt/0m
JP