HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio -B option - problem reading from tape
Operating System - HP-UX
1829013
Members
2363
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-24-2002 03:03 AM
04-24-2002 03:03 AM
cpio -B option - problem reading from tape
Following a system reboot, I'm unable to read a label from the beginning of a tape using cpio -iuvB. cpio -iuv works fine and it seems quite happy to write to the tape with -B however. No block size is being specified. Any ideas?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 03:18 AM
04-24-2002 03:18 AM
Re: cpio -B option - problem reading from tape
Whenever in (tape) doubt, use dd :)
# dd if=/dev/rmt/0m ibs=2048000 | cpio -itv
if you /write/ with -c (compatibility option, you should also read with -c, except when using GNU cpio, which detects the -c like options automatically when reading. One more reason to use only GNU cpio :)
# dd if=/dev/rmt/0m ibs=2048000 | cpio -itv
if you /write/ with -c (compatibility option, you should also read with -c, except when using GNU cpio, which detects the -c like options automatically when reading. One more reason to use only GNU cpio :)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 03:37 AM
04-24-2002 03:37 AM
Re: cpio -B option - problem reading from tape
-B sets blocksize 10 times higher: 512 -> 5120 bytes per block.
The header will not grow, but
will stay its own size. Very comfortable for the header to stay in...
I cannot try now to simulation your issue, but what about this:
In order to read a tape that was written using some block length besides the default of 512, use the tapecntl(1) command (qv) to either set the block length of the drive to match the block length of the media, or to set the drive into variable block length mode.
Regards,
Ceesjan
The header will not grow, but
will stay its own size. Very comfortable for the header to stay in...
I cannot try now to simulation your issue, but what about this:
In order to read a tape that was written using some block length besides the default of 512, use the tapecntl(1) command (qv) to either set the block length of the drive to match the block length of the media, or to set the drive into variable block length mode.
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 03:18 AM
04-25-2002 03:18 AM
Re: cpio -B option - problem reading from tape
Fixed. Well, actually, it got worse and the tape wouldn't eject and processes were hanging that I couldn't kill, so I rebooted. End of problem. Still a mystery...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP