- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TAR Fail
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
тАО05-31-2001 05:21 AM
тАО05-31-2001 05:21 AM
TAR Fail
thanx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 05:33 AM
тАО05-31-2001 05:33 AM
Re: TAR Fail
check the tape size u r using and size of file that u r trying to backup. by looking at the error it looks that file size exceeding the tape size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 05:37 AM
тАО05-31-2001 05:37 AM
Re: TAR Fail
terminal, probably the console terminal in your case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 05:40 AM
тАО05-31-2001 05:40 AM
Re: TAR Fail
the Unit - DLT4000 - uses a 40 Gb tape and it's error occur at begining of copy.
- Hi Vincenzo.
really /dev/tty im my console, but this routine run with Cron and a Console is not in use when the error occur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 05:51 AM
тАО05-31-2001 05:51 AM
Re: TAR Fail
console to prompt for another tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 06:09 AM
тАО05-31-2001 06:09 AM
Re: TAR Fail
since the error occur at the begining it is sure that the file to be backed up is larger than the tape size. because the tar checks the size of the file with that of tape, if it is less or equal then tar proceeds else tar fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 06:20 AM
тАО05-31-2001 06:20 AM
Re: TAR Fail
locate the device file for your DDS drive
then
tar -cvf /dev/rmt/2m
or whatever the device file returned from ioscan is.
A tty device file is for a text terminal or
serial line port multiplexer not for magnetic
tape drives.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 06:39 AM
тАО05-31-2001 06:39 AM
Re: TAR Fail
although your mind is correct, the file that TAR is check at begining is too small - and I don't have any file greater than my space in tape. But... I say but, although I'm using
tar -cvf /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 06:40 AM
тАО05-31-2001 06:40 AM
Re: TAR Fail
Since you ran the tar from cron there was no controlling terminal for tar to post a mount request when it wanted another tape - hence the can't open /dev/tty message and tar gives up.
Now, why did tar want another tape? Perhaps the one you used was bad or write protected. Have you tried another tape? Was the same tape being used both times tar failed?
Hope this helps,
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 06:47 AM
тАО05-31-2001 06:47 AM
Re: TAR Fail
check with Darrel points, doubt on the tape.
whenever u tar -cvf it is archieved on the begining of the tape not at the end, to append to the tape we'll use tar -rvf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 06:56 AM
тАО05-31-2001 06:56 AM
Re: TAR Fail
the DLT4000 has a capacity of 20GB and the 40GB is the capacity with an average compression of 2:1.
If you have many compressed files on this system, you might not be able to backup more than 25-30GB, because you will not reach this 2:1 compressratio.
It is most likely, that the device is full.
You can check the following to be sure:
tar cvf - list_of_file | dd bs=1k of=/dev/null
with the output of how many blocks dd did transfer, you should be able to estimate, how close you are to the end of tape.
Compare this with
tar cvf - list_of_file | compress | dd bs=1k of=/dev/null
And check this result against the uncompressed limit of 20GB.
Both commands may take a while to finish.
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 07:29 AM
тАО05-31-2001 07:29 AM