- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Directory Checksum Error
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-27-2002 01:01 PM
02-27-2002 01:01 PM
Directory Checksum Error
In addition to yesterdays question, I am still facing the problem with reading the tapes. I am getting an error called Directory Checksum Error and Tar: Tape Blocksize Error While attempting to read the tapes. I followed the solution given by Shiju for checking the backup type performed while taking the backups using the 'dd' method. It is returning the file type as English. How can I proceed reading the tape. Sometimes it is giving the error called Tar:blocksize=2 Directory Checksum Error while reading the tape using Tar command. Can anybody help me out in this issue.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:11 PM
02-27-2002 01:11 PM
Re: Directory Checksum Error
try this:
tar -tvb2 -f /dev/rmt/om
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:30 PM
02-27-2002 01:30 PM
Re: Directory Checksum Error
I have tried tar -tvb2 -f /dev/rmt/1m. It is giving the message called Invalid Blocksize (Max 64).
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:33 PM
02-27-2002 01:33 PM
Re: Directory Checksum Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:39 PM
02-27-2002 01:39 PM
Re: Directory Checksum Error
I don't know the backup method used for taking the backups. I am assuming that the backup has performed with tar, so I am trying with tar -tvf /dev/rmt/1m to read the contents from the tape. While reading the tape contents with tar, I am getting the error called 'Directrory Checksum Error' and 'Tar: Tape Blocksize Error'.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:44 PM
02-27-2002 01:44 PM
Re: Directory Checksum Error
What happens if you try:
# frecover -f /dev/rmt/?m -I /tmp/some_filename
If this is an fbackup tape, the index will be extracted and written to /tmp/some_filename.
or you could try:
# frecover -f /dev/rmt/?m -N
This way the whole tape will be read and you will see everything that's on the tape, but NOTHING will be recovered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:46 PM
02-27-2002 01:46 PM
Re: Directory Checksum Error
Normally when you use the command:
# dd if=/dev/rmt/
# file /tmp/tapetest
It will return the answer that the file is a cpio or tar archive. This is what I' ve mentioned before.
Also did you try other commands ?
# /bin/cpio -ictvB < /dev/rmt/
# frecover
# pax
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:49 PM
02-27-2002 01:49 PM
Re: Directory Checksum Error
Tar can normally determine the blocksize and thus I suspect that this is not a tar OR has been recorded in a byte-swapped format. I suggest that you do this:
dd if=/dev/rmt/0m (or whatever) bs=512 count=3 | od -Ad -tc -v > /tmp/myfile.
This will dump 3 512-byte blocks in a human-readable format to /tmp/myfile. If you will then attach /tmp/myfile, I think someone will recognize the tape format (or lack thereof).
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 02:10 PM
02-27-2002 02:10 PM
Re: Directory Checksum Error
I have tried frecover -f /dev/rmt/1m -I > /tmp/some_file option, I am able to see the contents of the tape. Thanks for the info. How can I extract the tape contents into the disk.
Can you give me the syntax of the command to retrive onto disk.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 02:12 PM
02-27-2002 02:12 PM
Re: Directory Checksum Error
Thanks for the info. I have tried the options given by you. But it is not showing the Backup type. It is giving the file type, whether it is ascii or English text or data file.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 02:22 PM
02-27-2002 02:22 PM
Re: Directory Checksum Error
I have tried the option given by you. Thanks for the info. But nothing is showing in the out put file. I am attaching the file called myfile. Can you go through once.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 02:29 PM
02-27-2002 02:29 PM
Re: Directory Checksum Error
If you found it reading with frecover then for extracting use this:
# frecover -X -v -f /dev/rmt/1m
This will recover all files to the current working directory.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 04:51 PM
02-27-2002 04:51 PM
Re: Directory Checksum Error
The od output indicates that this is an fbackup archive. The actual FBACKUP header begins at offset 1024 but you cut that portion off. In any event, this is an fbackup and an frestore will restore the files. Man fbackup/frestore for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 11:25 AM
02-28-2002 11:25 AM
Re: Directory Checksum Error
Thanks for the info. My problem is solved to some extent. The other problem I am facing is I am not able to read the contents of the tape either with tar, pax and frecover. I am getting the below errors with different methods.
1>tar : tape blocksize error.
2>frecover :
a.did not find expected file marker.
b.checksum on volume header is incorrect.
c.not an fbackup volume; magic value is incorrect.
d.did not find expected file marker.
e.Do you wish to try to salvage this volume? (^[yY]/^[nN]).
These are the error messages i am getting with frecover. Can you help me out in this issue.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 01:03 PM
02-28-2002 01:03 PM
Re: Directory Checksum Error
You found out that the backup was taken by fbackup. So you don't need to try recovering it with tar. It will give you error. Try only frecover. See man frecover for more options and try ur luck !
Check this document, this describes your exact problem, may be helpful:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=d2475f5911178f3548/screen=ckiDisplayDocument?docId=200000026600834
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 02:40 PM
02-28-2002 02:40 PM
Re: Directory Checksum Error
Thnaks for the info. The link that you gave is for HP Version 10. I am working on B.11.00. How can I solve this problem on HP-UX B.11.00.
Thanks
Prathap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 03:44 PM
02-28-2002 03:44 PM
Re: Directory Checksum Error
What type of tape drive are you using ? When was your data backed up ? Whis is the server ?
One possibility is a bad media. If your media is deffective, then you won't be able retrieve the data back. Check man pages of frecover and try using different options.
HTH,
Shiju