- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem 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
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
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
тАО08-09-2004 03:46 AM
тАО08-09-2004 03:46 AM
Problem with tar
I have the following problem with tar:
tar -tvf /dev/rmt/0m
Tar: blocksize = 2
directory checksum error
what is the problem and how i can resolve it?
Please help
Thanks
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2004 03:48 AM
тАО08-09-2004 03:48 AM
Re: Problem with tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2004 03:49 AM
тАО08-09-2004 03:49 AM
Re: Problem with tar
Try to check the file
# file tar_file
tar_file: tar file
did you ftp the file whit binary mode ?
maybe a corrupt file, try and redownload it again.
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2004 03:58 AM
тАО08-09-2004 03:58 AM
Re: Problem with tar
or cpio for that matter.
Every once in a while I get passed a cpio tape from someone and it catches me off guard.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2004 08:05 AM
тАО08-09-2004 08:05 AM
Re: Problem with tar
check this doc.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062965233
Document description: Why does tar(1) report directory checksum error
Document id: A1327736
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2004 08:09 AM
тАО08-09-2004 08:09 AM
Re: Problem with tar
This error may be due to following reason
1. Corrupted files.
2.Bad block in hard disk ( while you taking backup).
3.Problem with media or DDS(tape) drive.
3.Incompatability of drive and media
4.format you used to take backup.( If you are trying to read the backup which you took with cpio or fback it will give you this problem)
Thanks
Sathya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2004 08:16 AM
тАО08-09-2004 08:16 AM
Re: Problem with tar
root# dd if /dev/rmt/0m|of /bigfs/tarfile.tar
root# file /bigfs/tarfile.tar
Chances are it is cpio, compressed or gzipped for which you need to use other utilities ie:
cpio -idvmucat /bigfs/tarfile.tar|gunzip|tar tvf -
cat /bigfs/tarfile.tar|uncompress|tar tvf -
...
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2004 01:49 AM
тАО08-10-2004 01:49 AM
Re: Problem with tar
some more informations would be nice ...
Is it a tape? Is it from SGI workstation?
Do you have a tar-file? From windows?
Have you tried to rename it with extension .gz and to gunzip it?
Or unzip in windows?
Only some ideas ...
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2004 01:55 AM
тАО08-10-2004 01:55 AM
Re: Problem with tar
Try
dd if=/dev/rmt/0m bs=10k | tar tvf -
Suspect tape is not compatible with drive or drive is broken.
Can you make a new backup with tar on a blank tape and read it back.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2004 02:07 AM
тАО08-10-2004 02:07 AM
Re: Problem with tar
Thanks