- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tape Devices
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-08-2001 10:02 AM
11-08-2001 10:02 AM
How do I create a byte swapping device file so that I can read this tape? I used to do this looong ago, but can not find my notes anywhere.>
Thanks in advance!
Shannon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 10:23 AM
11-08-2001 10:23 AM
SolutionYou use your old friend dd.
Something like this:
dd if=/dev/rmt/3m bs=512 conv=swab | tar xvf -
You may want to play with bs a bit or do 1 dd with large input blocking which in turns pipes to another for the conv=swab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 03:49 PM
11-08-2001 03:49 PM
Re: Tape Devices
You could also use 'pax' if you don't know what format the tape was originally cut in.
'pax' can read both tar and cpio tapes.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 05:46 PM
11-08-2001 05:46 PM
Re: Tape Devices
I'm not absolutely sure at this point, but GNU cpio was able to read pretty much ANYTHING you fed it, including tar files, zip files, etc, etc. I'd say they have an option to byte swap the data. BTW, I'm assuming you used cpio, tar or something like that to make the backup.
Regards,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 05:07 AM
11-09-2001 05:07 AM
Re: Tape Devices
If you do not know the tape format, then may be reading one record and inspecting it with file(1), xd(1), etc. might help, i.e.
dd if=/dev/rmt/... of=/tmp/record bs=64k count=1 [conv=swab]
file /tmp/record
xd -bc /tmp/record | more
etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 10:51 AM
11-09-2001 10:51 AM
Re: Tape Devices
Already mentioned: dd, pax (which covers tar and cpio). What about dump?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 11:23 AM
11-09-2001 11:23 AM
Re: Tape Devices
dd if=
From the "magic number" we can easily determine if it is byte swapped and what kind of tape it is.
live free or die
harry