- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tar not working properly
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
тАО06-30-2009 06:20 AM
тАО06-30-2009 06:20 AM
Tar not working properly
* Checking Versions of Ignite-UX filesets
ERROR: Write test failed!
ERROR: Check tape device failed.
So I tried a simple tar to see if the tape drive works, but I found this.
[root]:/root # mt -t /dev/rmt/0m rew
[root]:/root # echo $?
0
[root]:/root # tar cvf /dev/rmt/0m /etc/passwd
a /etc/passwd 6 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
User entered a null name for next device file.
[root]:/root #
You know that /etc/passwd is a tiny file, there is no way it could be filling the entire tape.
Any idea what could be wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 06:26 AM
тАО06-30-2009 06:26 AM
Re: Tar not working properly
Do an ignite? Make an ignite backup?
Your tar is failing because the tape is full. Im think tar can't span multiple tapes. There may be a command line option in the man page for tar that will let you get around this.
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
тАО06-30-2009 06:29 AM
тАО06-30-2009 06:29 AM
Re: Tar not working properly
PS. Unless you have a very old IgniteUX version, igniteUX has been using pax instead of tar for a while now.
Try some more test with with different tapes and drives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 06:31 AM
тАО06-30-2009 06:31 AM
Re: Tar not working properly
I suggest that you clean your tape drive and test with a new tape. Your simple 'tar' of the password file should NOT have performed as it did.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 06:32 AM
тАО06-30-2009 06:32 AM
Re: Tar not working properly
Doubtful, given the errors shown.
>>Im think tar can't span multiple tapes.
Baloney! Tar has always had the ability to span multiple tapes.
Given the errors above, the things I would try are:
1) Clean the tape drive. Do this 2 or 3 times.
2) Try a new/different tape. A bad tape can cause issues like this.
3) Check SCSI cables and terminators.
4) If all else fails, you may been to replace the tape drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 06:33 AM
тАО06-30-2009 06:33 AM
Re: Tar not working properly
Most suspect part would be media. Also make sure that the tape is not write protected.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 06:37 AM
тАО06-30-2009 06:37 AM
Re: Tar not working properly
>>
Tar: end of tape
<<
For tar to span multiple tapes, the process must be interactive, so the operator can tell the job when to resume. Run in the background tar can not span multiple tapes.
tar is not able without some kind of input to know when the next tape is ready.
Here it asks for input:
>>
Tar: to continue, enter device/file name when ready or null string to quit.
<<
It would be helpful to know what type of tape drive we are talking about. There are multi tape libraries that can be beyond the built in abilities of tar.
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
тАО06-30-2009 06:42 AM
тАО06-30-2009 06:42 AM
Re: Tar not working properly
Try another tape or better change the drive.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 07:16 AM
тАО06-30-2009 07:16 AM
Re: Tar not working properly
The tape I tried is new and empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 07:27 AM
тАО06-30-2009 07:27 AM
Re: Tar not working properly
clean the drive,
check the cabling / terminators
*before* you tried the new tape?
also, most drives now have a "clean me" light now. Is it on now? Was it on before you cleaned it?