- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to list the files on a tape with TAR?
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
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
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
12-13-2011 06:04 AM
12-13-2011 06:04 AM
On a HP-UX OS I have a backup on a magnetic tape created from the SAM. Everywhere I read on ither forums, the instructions to list-verify the contents of the tape is to use the TAR program:
#tar tvf /dev/rmt/[tapefile]
I've created a new directory /tape with 777 permissions, but when I execute the above command it gives me an error message:
#pwd /tape #tar tvf /dev/rmt/0mn >> listtape Tar: blocksize = 2 directory checksum error
Going after the blocksize error I used another version of the command with the "b" flag:
#tar tvb 2 /dev/rmt/0mn >> listtape directory checksum error
Anybody have a sugestion? How can I view the files the tape? What does this error means?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 06:24 AM
12-13-2011 06:24 AM
SolutionIf the tape was created using SAM, then I can almost guarantee that TAR was NOT used to create the tape. More than likely 'fbackup' was actually used.
If you want to see what is on the tape you need to use the 'frecover' program.
The following will read the table of contents from the tape (/dev/rmt/0m) and write it out to /tmp/tape.idx.
frecover -I /tmp/tape.idx -f /dev/rmt/0m
- Tags:
- frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 06:42 AM
12-13-2011 06:42 AM
Re: How to list the files on a tape with TAR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 06:50 AM
12-13-2011 06:50 AM
Re: How to list the files on a tape with TAR?
Glad to help.
Kudos are always appreciated as well.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/td-p/4803621