- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio from system v to hpux
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
03-15-2005 01:25 AM
03-15-2005 01:25 AM
cpio from system v to hpux
I'm trying to recover cpio tapes made in an SystemV system in a hp9000 server...
backups in systemv were made thus
# cpio -ocvB -O /file
or
# cpio -ocvB < /file
In hp9000 server I try to recovery in the next way
# cpio -itBvdl < /dev/rmt/0m
this result in this error
out of fase --get help
anybody can advise me?
thank you
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 01:32 AM
03-15-2005 01:32 AM
Re: cpio from system v to hpux
cpio -iBdvmc < /dev/rmt/0m
(there's no "l" command in cpio...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 01:35 AM
03-15-2005 01:35 AM
Re: cpio from system v to hpux
there is a bad spot onthe tape. The result is that something cannot be restored.
You can try and add the "-R" option, e.g.:
# cpio -iRitBvdl < /dev/rmt/0m
which will force cpio to skip bad spots and look for the next file (and hopefully, also next good spot), but you will under all circumstances lose data.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 01:37 AM
03-15-2005 01:37 AM
Re: cpio from system v to hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 10:42 PM
03-15-2005 10:42 PM
Re: cpio from system v to hpux
The error means "file header is corrupt or in the wrong format." Further research may be needed, but I think there is something to do with byte-ordering when comparing SVR4 OS to HP-UX (little-endian vs big-endian...?)
If you still have access to the SVR4 system, try using cpio with different output option (-H odc I think...?) - there may even be an HP-UX format compatability option....?
Try using pax to restore the tape (man pax for the required options to read a cpio format tape)
HTH
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 11:11 PM
03-15-2005 11:11 PM
Re: cpio from system v to hpux
Check out the default(or, if provided, then those values of) block i/o size and block i/o buffer size on the source and use the same on destination with the -B and -C options respectively.