LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2011, 11:06 AM   #1
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Rep: Reputation: 15
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?
 
Old 05-26-2011, 05:01 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
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.
 
Old 05-27-2011, 04:00 PM   #3
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
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.
 
Old 05-29-2011, 02:16 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
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?
 
Old 05-31-2011, 03:09 PM   #5
Tyler_H72
Member
 
Registered: May 2008
Distribution: OpenSuSE
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mesiol View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ST driver using dd command on Ultrium 3 tape drive mininoma Linux - Enterprise 0 03-18-2009 08:21 AM
problem with st driver using dd command on Ultrium 3 tape drive mininoma Red Hat 0 03-17-2009 09:50 AM
How to backup with LTO Ultrium 2 Astol Linux - General 1 09-05-2007 08:49 PM
Hp Ultrium-2 Scsi Tape Drive Problem lebowski Linux - Hardware 0 12-27-2006 06:59 AM
Ultrium Tape drive mnauta Linux - Hardware 1 03-04-2005 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration