Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-26-2011, 12:06 PM
|
#1
|
Member
Registered: May 2008
Distribution: OpenSuSE
Posts: 65
Rep:
|
Enabling Compression on Ultrium LTO-2 Tape Drive
We have been using an Ultrium LTO-2 tape drive to perform backups of certain information from our file server. Recently, the data that we are backing up has grown too large to fit on the tapes in their 200GB uncompressed capacity. I have been looking around for a way to enable the compression in the drive, but I haven't found much. I am not using any backup software, so I'm not sure if I'll even be able to. I write the tape using a simple 'tar' command, so there aren't a whole lot of options to be set. Is there a way that I can enable the drive's compression, or would I be better off running the tar command with the gzip or bzip flags?
|
|
|
05-26-2011, 06:01 PM
|
#2
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep: 
|
Hi,
hardware compression has to be enabled by the hardware. Best take a look if there are any DIP switches on the tape drive where you can enable this option. The hardware vendor of the drive should provide the manual for the drive to determine the correct switch settings.
|
|
|
05-27-2011, 05:00 PM
|
#3
|
Member
Registered: May 2008
Distribution: OpenSuSE
Posts: 65
Original Poster
Rep:
|
I have contacted the vendor I got the drive from. Unfortunately, there is no physical switch to change the compression settings. It was recommended that I use the 'mt' command with the 'datcompression' option, but Ubuntu uses a version of GNU mt that doesn't allow for that option. The solution recommended to me was to use software compression instead, so I'm giving that a try.
|
|
|
05-29-2011, 03:16 AM
|
#4
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep: 
|
Software compression (eg. compress/gzip/bzip2) will result in a longer time frame to get your backup to tape, also the compression is done via host operating system, which will created a higher load.
I use mt version 0.9b which support compression parameter. Did you check for?
Did you try to download a newer version of mt source code and compile it for your system?
|
|
|
05-31-2011, 04:09 PM
|
#5
|
Member
Registered: May 2008
Distribution: OpenSuSE
Posts: 65
Original Poster
Rep:
|
Quote:
Originally Posted by mesiol
Software compression (eg. compress/gzip/bzip2) will result in a longer time frame to get your backup to tape, also the compression is done via host operating system, which will created a higher load.
Did you try to download a newer version of mt source code and compile it for your system?
|
I haven't tried a newer version. I don't plan to in the near future, as even using the software compression, the backup is still completing within the allotted time frame. This should be good enough for the time being, so I think I'm just going to leave it as is until the situation changes.
|
|
|
All times are GMT -5. The time now is 12:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|