- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tar: error! blocksize changed
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
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
тАО12-13-2002 06:50 AM
тАО12-13-2002 06:50 AM
I'm trying to recover from a tar archive that I have on file system. I used "tar xvf /tmp/zip/bktmpapp.tar" to extract all files.... but at a time when extracting, tar stops and said "Tar: error! blocksize changed".
So I tried to change the blocksize to 1, with that command "tar xvfb /tmp/zip/bktmpapp.tar 1" but it still give me the error message.... I really need to have this archive... somebody know how???
Thanks
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 07:02 AM
тАО12-13-2002 07:02 AM
Re: Tar: error! blocksize changed
Do somebody think the same as me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 07:02 AM
тАО12-13-2002 07:02 AM
Re: Tar: error! blocksize changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 07:03 AM
тАО12-13-2002 07:03 AM
Re: Tar: error! blocksize changed
Did it extract any files, or did it die before then?
What OS are you running and do you have the latest patches?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 07:07 AM
тАО12-13-2002 07:07 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 07:07 AM
тАО12-13-2002 07:07 AM
Re: Tar: error! blocksize changed
Like I said could it have been cause my fs doesn't take largefiles, so the archive stopped at 2Go size, and I can't get the rest....???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 07:09 AM
тАО12-13-2002 07:09 AM
Re: Tar: error! blocksize changed
This could be one of several problems. From the knowledge base...
Tar reads the stored checksum from the tape and also uses other fields read from the tape to compute a checksum. When these checksums do not match, errors will display of this nature. The errors typically happen from backup media because the media somehow has been damaged or de-magnetized but other possibilities are listed below :
1. The tar tape might not be a tar tape at all and could be a cpio, fbackup, or some other backup utility tape.
2. The tar could have been written using the "O" option which is the pre-POSIX format and not the normal default of "N" which is the POSIX format.
3. The block factor was not the default and specified with the "b" option.
4. Verify what options were used to create the tar archive.
5. Check to make sure that tar is the current patched version for the operating system and also any kernel drivers that have been patched.
6. Do not rule out hardware. Attempt to archive off some files to a scratch tape and restore them. Make sure that the drive is performing as it normally should.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 01:08 PM
тАО12-13-2002 01:08 PM
Re: Tar: error! blocksize changed
you could also try to force the blocksize to 20
tar xvb20f /tmp/zip/bktm...
man tar to see the exact syntax - but it is the b switch.
also
did you look at the archive with tar tvf - to see how it was built?
that may provide some insight as well
There were a lot of good responses and mine should be regarded as simply "turning over those last few stones"
Good luck. Can you put the tarfile on a website we can get at?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 01:16 PM
тАО12-13-2002 01:16 PM
Re: Tar: error! blocksize changed
Yes, I believe the > 2Gb file size is a problem.
The HP-UX standard tar does not support file sizes greater than 2 Gb.
You should try GNU tar - it does support largefiles - can be had here:
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2002 01:23 PM
тАО12-13-2002 01:23 PM
Re: Tar: error! blocksize changed
Another thing to be aware of is if the tarball contains a file named the same as the actual tar file being extracted and you're extracting into the same directory where the original tar file is residing. The command will dutifully overwrite the tar file & then upon the next attempt to extract will squawk that the file has now changed.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 06:29 AM
тАО12-16-2002 06:29 AM
Re: Tar: error! blocksize changed
Thanks for the help anyway!!!