- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Backup with tar
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
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
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
тАО10-23-2003 08:24 PM
тАО10-23-2003 08:24 PM
I backup my data on a DLT Tape IV (40/70 Gb)
I use the command:
tar cvE file.tgz
the file's size is over 32Gb. After 30Gb of writing the tar command requests another tape to write on! How is it possible?
Is it a problem of density?
Do I have to use different options?
Thanks in advance.
Ezra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 09:14 PM
тАО10-23-2003 09:14 PM
Re: Backup with tar
without specifying a tape device it will use the environment variable (if exists) or the standard device.
Have a look to the man page of "tz" or "tape" (depending on version) and decide which device to use for the right compression specified by -f flag of tar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 09:18 PM
тАО10-23-2003 09:18 PM
Re: Backup with tar
I thought that without -f it should use /dev/rmt0h
isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 09:20 PM
тАО10-23-2003 09:20 PM
Re: Backup with tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 10:43 PM
тАО10-23-2003 10:43 PM
Solutioncompression will only be used with nrmt0h on tz89 and tape IV. Without compression data will be 30-35 GB.
But be sure the backup data are not compressed (e.g. no pictures, gzip archives etc). Otherwise the limit is still 35GB because already compressed data can not be compressed anymore - but this is quite clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 10:43 PM
тАО10-23-2003 10:43 PM
Re: Backup with tar
First, You are making a backup of an already compressed file (.tgz). This means that the Tape can't compress it anymore.
Second, the TZ89 can only write Maximum 35GB uncompressed on a Tape IV cartridge.
I don't know exactly how the tape compression algorithms will react on already compressed data. But, I have seen software compression software where the compression of already compressed data resulted in a larger file.
Hope this helps
Joris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 10:50 PM
тАО10-23-2003 10:50 PM
Re: Backup with tar
:-)
I didn't thought it was already compressed!
Thanks to all to stand me!
Ezra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 12:28 AM
тАО10-27-2003 12:28 AM
Re: Backup with tar
Now I've tried to do a backup with this command:
tar cvEf /dev/nrmt0h /my_data_directory
Now, without zipping the files the backup is larger than 60Gb and it asks me for a second tape again!!!
I haven't specified a blocking factor because I have not understood how to use it. Should I?
Thanks... and going crazy!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 07:12 PM
тАО10-27-2003 07:12 PM
Re: Backup with tar
If 60GB doesn't fit on the tape please check how much data must be saved by using
# du /directory
(directory is the directory you want to backup)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 07:41 PM
тАО10-27-2003 07:41 PM
Re: Backup with tar
the output of du -k is:
4238691 /storage/dir1
10825118 /storage/dir2
12398735 /storage/dir3
3525016 /storage/dir4
6840450 /storage/dir5
18381615 /storage/dir6
3993611 /storage/dir7
Total: 60,589 Gb
Our tape should be enough! I do not understand.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 10:15 PM
тАО10-27-2003 10:15 PM
Re: Backup with tar
The limit of compressed data is in range between 35 to 70Gb depending on the format.
There is no garantee for 70GB per tape.
If using a real backup software like networker leads to several savestreams which could be better compressed than a simple singlestream tar command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 10:18 PM
тАО10-27-2003 10:18 PM
Re: Backup with tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 10:40 PM
тАО10-27-2003 10:40 PM
Re: Backup with tar
I took a long time to understand but now I know how to solve the problem.
You were extremely helpful.