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
тАО03-11-2002 10:10 AM
тАО03-11-2002 10:10 AM
cpio
I am trying to read the contents of the tape with the cpio -icBvt /dev/rmt/1m. It is getting hanged there. Can anyone help me out. Help me out in extracting the tape to disk.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:11 AM
тАО03-11-2002 10:11 AM
Re: cpio
DO this:
dd if=/dev/rmt/1m of=/large_diskarea
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:14 AM
тАО03-11-2002 10:14 AM
Re: cpio
Try
cpio -itBv < /dev/rmt/1m
Are you using the redirector "<". Also You are using the "c" as well as "t" option,
c --> Copy (extract)
t --> List Contents (No extract)
Try this,
cpio -itBvdl < /dev/rmt/1m
to list contents of tape
cpio -icBvdul < /dev/rmt/1m
to extract contents of tape to disk. Keep an eye on the path it is extracting to.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:25 AM
тАО03-11-2002 10:25 AM
Re: cpio
# cpio -itcvB < /dev/rmt/1m
should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:25 AM
тАО03-11-2002 10:25 AM
Re: cpio
Thanks for the info. I have tried the options given by you. I am getting the error called 'Out of Phase--get help', Perhaps the C option should not be used.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:27 AM
тАО03-11-2002 10:27 AM
Re: cpio
dd if=./dev/rmt/1m ibs=102400 of=tape.cpio
file tape.cpio
if cpio still has trouble reading the data, try to use GNU's version of cpio and omit the -c argument. GNU's cpio will try to find out itself and understands more cpio formats than native HP-UX cpio.
GNU cpio can be found and installed from e.g. ftp://download.xs4all.nl/pub/mirror/gnu/cpio/cpio-2.4.2.tar.gz (I couln't find a precompiler binary for HP-UX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:34 AM
тАО03-11-2002 10:34 AM
Re: cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:48 AM
тАО03-11-2002 10:48 AM
Re: cpio
I tried the solutions given in the links. Still I am getting the error. If I specify the 'c' option, I am getting the error C option should not be used. I I did't specify the 'c' option, I am getting the error 'C' option should be used.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:53 AM
тАО03-11-2002 10:53 AM
Re: cpio
put it somewhere in your path and issue
# ncpio --io-size=102400 -i -t -v
and tell us what happens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2002 10:56 AM
тАО03-11-2002 10:56 AM
Re: cpio
Did you rewind the tape first? Rewind the tape first with
mt -t /dev/rmt/1m rew
and then use cpio command to list the contents
I hope this will help
Aftab