- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio on hp-ux 10.20
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
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
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-18-2008 12:04 PM
тАО11-18-2008 12:04 PM
What is "End ov Volume" mean?
I enter "/dev/rmt/0m" and see the size of restored file increased.
What's the cpio command for listing the content of the tape drive?
Thanks for any reply.
Tammy
Solved! Go to Solution.
- Tags:
- cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2008 12:08 PM
тАО11-18-2008 12:08 PM
Re: cpio on hp-ux 10.20
mt rew
It sounds to me like you're at the end of the tape.
Pete
Pete
- Tags:
- mt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2008 12:23 PM
тАО11-18-2008 12:23 PM
Re: cpio on hp-ux 10.20
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2008 03:44 PM
тАО11-18-2008 03:44 PM
Re: cpio on hp-ux 10.20
>>> I did not rewind the tape,just enter the tape device file /dev/rmt/0m. Does cpio rewind on its own? <<
NO, It doesn't rewind on its own. we have to rewind , please follow the rewind command
# mt -f /dev/rmt/0mn status
(will show you tape is ONLINE)
# mt -f /dev/rmt/0mn rewind
Than try with cpio command for Listing .. :)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2008 05:27 PM
тАО11-18-2008 05:27 PM
SolutionIt means what it says. You are at the end of the tape reel. You need to "mount" another.
>I enter "/dev/rmt/0m"
I assume you first ejected the tape and put the next volume there?
>What's the cpio command for listing the content of the tape drive?
I suggest you give up on tar(1) and cpio(1) and only use pax(1).
You simply use:
pax -tv -f /dev/rmt/0m
>Pete: You might need to rewind the tape first
Are you suggesting the tape was first written and now read, without rewinding?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 06:00 AM
тАО11-19-2008 06:00 AM
Re: cpio on hp-ux 10.20
Thanks for the reply.I did not eject/rewind the tape. I just entered the same device name and cpio append the file to the same file name. Looks like cpio handle the rewind part.
Tammy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 08:00 AM
тАО11-19-2008 08:00 AM
Re: cpio on hp-ux 10.20
How can I setup block size with cpio to restore file?
I'm using "cpio idcmv < /dev/rmt/0m".
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 08:26 AM
тАО11-19-2008 08:26 AM
Re: cpio on hp-ux 10.20
man "cpio" seems to indicate that it deals in 512 byte blocks.
one wonders why you ask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 09:45 AM
тАО11-19-2008 09:45 AM
Re: cpio on hp-ux 10.20
Do you know what the block size is? You have N options, use -B for 5120 bytes, use a pipe with dd to reblock or good old pax(1).
>OldSchool: as far as I know, you can't. it is what it is. one wonders why you ask
See above. It would also be helpful to know how it was written to tape?
Also, as I mentioned, pax(1) will magically figure out how to read your tape. See:
-b blocking Blocking is automatically determined on input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 11:14 AM
тАО11-19-2008 11:14 AM
Re: cpio on hp-ux 10.20
It was old tape that we need to restore for
oracle data. After restore the file
with cpio, oracle import failed. I restored
the files from 2 different tapes, and imp failed on both of export files.
So the bottom line is you can not setup block size for cpio when restore from the tape drive.