- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar -xvf returns '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
04-27-2005 04:56 AM
04-27-2005 04:56 AM
tar -xvf returns 'directory checksum error'
#mt -t /dev/rmt/7m rew
#mt -t /dev/rmt/7mn fsf 1
#tar -xvf /dev/rmt/7m
it starts to extract some files and even creates the correct directory (alexbkup) and then I get 'directory checksum error'.
Any ideas?
Thanks so much (in advance!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 04:59 AM
04-27-2005 04:59 AM
Re: tar -xvf returns 'directory checksum error'
You need tar command as follows.
tar -xvf /dev/rmt/7mn
(note the no rewind device)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:05 AM
04-27-2005 05:05 AM
Re: tar -xvf returns 'directory checksum error'
Seems you have correctly done that, though you may ant to consult your procedure.
Seeing what you say, I'd say the tape is pretty useless.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:07 AM
04-27-2005 05:07 AM
Re: tar -xvf returns 'directory checksum error'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:10 AM
04-27-2005 05:10 AM
Re: tar -xvf returns 'directory checksum error'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:18 AM
04-27-2005 05:18 AM
Re: tar -xvf returns 'directory checksum error'
Try-
cpio -itv >/rmt/7m
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:18 AM
04-27-2005 05:18 AM
Re: tar -xvf returns 'directory checksum error'
Should be cpio -itv
Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:22 AM
04-27-2005 05:22 AM
Re: tar -xvf returns 'directory checksum error'
Is that the only tape you use for the backups? No rotation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:28 AM
04-27-2005 05:28 AM
Re: tar -xvf returns 'directory checksum error'
pax -rvf /dev/rmt/7m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:06 AM
04-27-2005 08:06 AM
Re: tar -xvf returns 'directory checksum error'
Tim Sanko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:26 AM
04-27-2005 08:26 AM
Re: tar -xvf returns 'directory checksum error'
tar -tvf /dev/rmt/?m
to verify the contents of the tape
Probably a good idea to clean the drive with a cleaning tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:29 AM
04-27-2005 08:29 AM
Re: tar -xvf returns 'directory checksum error'
#dd if=/dev/rmt/7mn bs=1024k | tar xvf -
This was able to read the tape and restore the data.
Thanks for all the help though!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:38 AM
04-27-2005 08:38 AM
Re: tar -xvf returns 'directory checksum error'
Allthough the session you are trying to extract seems not do much anyway. But you forwarded the tape after rewind, this means there are multiple sessions on the tape. It could be either being a ignite backup or somebody has backed up multiple sessions on the tape.
Find out no. of sessions and then try all.
Finding out:-
Power recycle tape drive or eject/insert tape or use #mt -t /dev/rmt/7m rew
Then
#mt -t /dev/rmt/7mn fsf 1
#mt -t /dev/rmt/7mn status
( In the output status will tell you the no. of session from beginning of tape and then do the last two commands again, Untill your Status no is exceeding, you are going to next session, in the end just rew and then try to extract all sessions one by one)
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 02:34 PM
04-27-2005 02:34 PM
Re: tar -xvf returns 'directory checksum error'
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 11:26 PM
04-27-2005 11:26 PM
Re: tar -xvf returns 'directory checksum error'
I would have tried to find out the method by which the backup is being taken by the s/w (tar/cpio/pax etc...).
Once you are aware of the backup command, you can easily find out what command (and option) to use to recover !!!
Regards