- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Forums
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
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2009 09:28 PM
06-30-2009 09:28 PM
Re: Tar not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2009 10:05 PM
06-30-2009 10:05 PM
Re: Tar not working properly
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
07-01-2009 04:48 AM
07-01-2009 04:48 AM
Re: Tar not working properly
Also back in March you had a similar if not identical problem? How did you resolve that one or is it the same one?
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1322175
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 06:23 AM
07-01-2009 06:23 AM
Re: Tar not working properly
This is the output of the mt command
[root]:/root # mt -t /dev/rmt/0m status
Drive: HP C5683A
Format: DDS-3 format
Status: [1112500] online compression immediate-report-mode
File: 0
Block: 0
I also tried an fbackup as adviced in the other thread but got I/O error messages.
[root]:/root # mt -t /dev/rmt/0m rew
[root]:/root # fbackup -f /dev/rmt/0m -i /etc
fbackup(1004): session begins on Wed Jul 1 10:07:16 2009
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(9999): I/O error
fbackup(3124): write error on a record in the ANSII label
fbackup(3025): write error at the beginning of the volume
fbackup(3316): enter '^[yY]' when volume 1 is ready on /dev/rmt/0m,
or '^[nN]' to discontinue:
y
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(9999): I/O error
fbackup(3124): write error on a record in the ANSII label
fbackup(3025): write error at the beginning of the volume
fbackup(3316): enter '^[yY]' when volume 1 is ready on /dev/rmt/0m,
or '^[nN]' to discontinue:
n
fbackup(3019): would you like to enter a new output file?
n
fbackup(3022): would you like to continue this session?
n
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
[root]:/root #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 06:49 AM
07-01-2009 06:49 AM
Re: Tar not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 06:55 AM
07-01-2009 06:55 AM
Re: Tar not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 09:34 AM
07-01-2009 09:34 AM
Re: Tar not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 10:05 AM
07-01-2009 10:05 AM
Re: Tar not working properly
Drive: HP C5683A
Format: DDS-3 format
Status: [1112500] online compression immediate-report-mode
File: 0
Block: 0"
"I use DDS4 tapes, it is the same problem with the same server I had back in...."
what you say and what the drive says *differ*. If this worked after the drive replacement, I'd suggest that the replacement has failed again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2009 10:12 AM
07-01-2009 10:12 AM
Re: Tar not working properly
If this tape drive is covered by a maintenance contract, I wouldn't worry. HP will replace it as often as necessary. What you CAN do however is start questioning HP as to why the drive fails so often.