- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Tar: tape error (5)
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
тАО05-21-2005 11:42 AM
тАО05-21-2005 11:42 AM
I continously receive the follwoing error:
"Tar: tape error (5)"
When attempting to extract files from DDS4 tape.
Command used to place files on tape:
tar -cvf /dev/rmt/0mn /u00
Command used to extract files from tape:
tar -xvf /dev/rmt/0m /u00
Pleae advise, I have cleaned the tape drive,
and checked my cable connections. I will restore different amount of files, each time I try.
Jerry Sims
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2005 02:44 PM
тАО05-21-2005 02:44 PM
SolutionCould be a hardware issue with the tape drive itself.
ioscan -fnC tape
Make sure it shows up claimed, It probably is.
try firing up cstm, mstm or xstm and run some diagnostics on the tape device. The hardware may need replacement.
Also, try extracting files off a different tape, to rule out or in a tape problem.
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
тАО05-21-2005 08:50 PM
тАО05-21-2005 08:50 PM
Re: Tar: tape error (5)
Why don't you use 0mn instead of 0m?
As you said you can tar the /u00 to the tape so that I recommend use:
First, rewind the tape:
mt -f /dev/rmt/0mn -rew
Then:
tar -xvf /dev/rmt/0mn /u00
Yes, you should try to restore in a different directory....
Goodluck!
Regard,
Hoang Chi Cong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 04:38 AM
тАО05-22-2005 04:38 AM
Re: Tar: tape error (5)
Was the data written to the tape from the same server you are trying to restore to? I think err number 5 is a checksum error, so pretty much a catch all error. Are you certain that the tar to write the tape suceeded, as Steven mentioned, wel worth trying to write another tape to eliminate the drive itself.
T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 02:13 PM
тАО05-22-2005 02:13 PM
Re: Tar: tape error (5)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:46 AM
тАО05-24-2005 02:46 AM
Re: Tar: tape error (5)
Thanks for all the information. I found the problem, I forgot to put my terminator
on. tar extraction works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 03:34 AM
тАО05-24-2005 03:34 AM
Re: Tar: tape error (5)
Tony