- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tar Errors on HP-UX11
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
02-26-2002 01:07 PM
02-26-2002 01:07 PM
Tar Errors on HP-UX11
I am trying to view the contents of tape on HP-UX B.11.00 operating system. When i give the command tar -tvf /dev/rmt/3m, i am getting the errors called Tar: Tape blocksize error and Directory checksum errors. Can you suggest me how can i overcome this problem.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 01:11 PM
02-26-2002 01:11 PM
Re: Tar Errors on HP-UX11
Check this out:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=da426de6068d9007be/screen=ckiDisplayDocument?docId=200000007948507
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 01:16 PM
02-26-2002 01:16 PM
Re: Tar Errors on HP-UX11
If you need to read the content, you can use the pax command too:
# mt -t /dev/rmt/3m ( rewinding tape)
# pax -r -f /dev/rmt/3m
Also make sure that the media is good, the command used for backing up data and the device file you are using are right.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 01:58 PM
02-26-2002 01:58 PM
Re: Tar Errors on HP-UX11
Thanks for the info. In addition to my previous question, How can i get the blocksize used while taking the backups. I don't know the blocksize used while taking the backups, then how can i read the contents of the tape without using the blocksize.
Thanks
Prathap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 03:59 PM
02-26-2002 03:59 PM
Re: Tar Errors on HP-UX11
Check this out:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=4cccc49719218419d2/screen=ckiDisplayDocument?docId=200000024644822
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 07:26 AM
02-27-2002 07:26 AM
Re: Tar Errors on HP-UX11
> How can i get the blocksize used while taking the backups? I don't know the blocksize used while taking the backups, then how can i read the contents of the tape without using the blocksize?
You can get the blocksize by doing:
dd if=/dev/rmt/3m of=/tmp/record bs=64k count=1
ll /tmp/record
The size of the /tmp/record file is the blocksize (in bytes). I.e. the above dd(1) command reads one record with a *maximum* size of 64KByte and returns the *actual* record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 07:29 AM
02-27-2002 07:29 AM
Re: Tar Errors on HP-UX11
This is the link:
Problem Description
I would like to retrieve data from some tapes, but I can't read
them. They were written in tar format, but tar returns a directory
checksum error. Is there anything I can do?
Solution
To retrieve data from tapes, execute the following procedure:
1. Put tape in DDS drive.
2. Execute the following:
dd if=/dev/rmt/
3. To determine the file type do:
file /tmp/tapetest
The file command returns the answer that this is a cpio archive.
4. In order too read the cpio archive without recovering the data,
complete the following:
/bin/cpio -ictvB < /dev/rmt/
The B option may or may not be needed dependent on what command
was used to store the data in the first place.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 08:00 AM
02-27-2002 08:00 AM
Re: Tar Errors on HP-UX11
Good point! Perhaps the tape is not a tar tape, but a cpio or other tape. The file(1) command in your example should reveal if it is a tar tape, a cpio tape or something else.