- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar: cannot close 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
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
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
05-02-2003 09:37 AM
05-02-2003 09:37 AM
I'm in the process of restoring a large number of older archive tapes (and some very recent ones) and refreshing the media (converting to new media and consolidating a large number of tapes to a small number...)
One of the errors I have come across a couple of times is:
tar: Cannot close ./dir1/fir2/filex
In a couple of cases, the media is new and the drive has not had any problems with other tapes to date (some are DLT4 tapes, the drive is a DLT7000, others are 8mm DAT format and have more problems)
I really need to be able to restore these. I have determined that if I do a tar xvf /dev/rmt/6mn exact/path/and/filename, I can skip the offending file and restore the following one, but I can't do it in a stream.
So, my question is, is there any way to force tar to skip past these bad blocks?
Thanks,
Don
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 11:51 AM
05-02-2003 11:51 AM
Solutionhttp://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d6837f45ef7d4118fef0090279cd0f9,00.html&qt=%22tar%3A+Cannot+close%22&hit=1
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdad9f841489fd4118fef0090279cd0f9,00.html&qt=%22tar%3A+Cannot+close%22&hit=2
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2a82402f24d5d61190050090279cd0f9,00.html&qt=%22tar%3A+Cannot+close%22&hit=3
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa3a6e7e60861d511abcd0090277a778c,00.html&qt=%22tar%3A+Cannot+close%22&hit=4
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf40d06350fe2d61190050090279cd0f9,00.html&qt=%22tar%3A+Cannot+close%22&hit=5
Good luck.
http://www.isnamerica.com
Call me anything you want, but don't forget to call me to dinner.
Steven E. Protter
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
05-05-2003 02:07 AM
05-05-2003 02:07 AM
Re: tar: cannot close error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2015 12:53 PM
09-10-2015 12:53 PM
Re: tar: cannot close error
The correct answer was about NFS. I got multiple errors taking a tar file that I had stored elsewhere and moved it back via ftp in binary and tar -tvf seemed to work. Well it turns out that since my working location was on NFS, I had numerous write errors to the subdirectory when using tar -xvf FILE.tar. Once I moved that FILE to /tmp and did it there, tar -xvf worked perfectly and all the way. Then the files could be read.