I have just added a used IBM LTO Ultrium Gen 1 drive with a Adaptec 29160 to my server. The tape drive is the only device on the scsi bus. So far I am just using the aic7xxx module that ships with SuSE 8.2 I think I have the basic functionality working (ie. /dev/st0), but I want to be able to use the compression feature of the drive. I think that should be either /dev/st0a or /dev/st0m. Unfortunately, neither of those devices seem to work. Anyone know how to get them working? Thanks Greg -- Greg Freemeyr
On Wednesday 01 October 2003 17:18 pm, Greg Freemyer wrote:
I have just added a used IBM LTO Ultrium Gen 1 drive with a Adaptec 29160 to my server. The tape drive is the only device on the scsi bus.
So far I am just using the aic7xxx module that ships with SuSE 8.2
I think I have the basic functionality working (ie. /dev/st0), but I want to be able to use the compression feature of the drive.
I think that should be either /dev/st0a or /dev/st0m.
Unfortunately, neither of those devices seem to work.
Anyone know how to get them working?
Most drives do the compression by default. Sure that isn't the case with your drive? -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 10/01/03 17:34 + +----------------------------------------------------------------------------+ "You can always tell a real friend; when you've made a fool of yourself he doesn't feel you've done a permanent job." --Lawrence J. Peter
* Greg Freemyer (freemyer-ml@NorcrossGroup.com) [031001 14:25]:
I have just added a used IBM LTO Ultrium Gen 1 drive with a Adaptec 29160 to my server. The tape drive is the only device on the scsi bus.
So far I am just using the aic7xxx module that ships with SuSE 8.2
I think I have the basic functionality working (ie. /dev/st0), but I want to be able to use the compression feature of the drive.
Unless you're using a utility that the vendor provides normally this is setup by adding an entry in /etc/stinit.def for the drive. For my VXA drives I use something like manufacturer="Ecrix" model = "VXA-1" scsi2logical=1 can-bsr can-partitions auto-lock mode1 blocksize=0 compression=1 mode2 blockzize=1024 compression=0 All of those except the blocksize (variable) and compression are fairly standard I think. /usr/share/doc/packages/mt_st and http://www.linuxtapecert.org will have more info although I'm sure IBM has a Redbook for this drive. -- -ckm
Thanks Christopher and others, I did not have the mt_st package installed. Thus only basic tape functionality was possible. I have installed it now and modified /etc/stinit.def Will start testing to make sure everything is working. Greg On Wed, 2003-10-01 at 18:06, Christopher Mahmood wrote:
* Greg Freemyer (freemyer-ml@NorcrossGroup.com) [031001 14:25]:
I have just added a used IBM LTO Ultrium Gen 1 drive with a Adaptec 29160 to my server. The tape drive is the only device on the scsi bus.
So far I am just using the aic7xxx module that ships with SuSE 8.2
I think I have the basic functionality working (ie. /dev/st0), but I want to be able to use the compression feature of the drive.
Unless you're using a utility that the vendor provides normally this is setup by adding an entry in /etc/stinit.def for the drive. For my VXA drives I use something like
manufacturer="Ecrix" model = "VXA-1" scsi2logical=1 can-bsr can-partitions auto-lock mode1 blocksize=0 compression=1 mode2 blockzize=1024 compression=0
All of those except the blocksize (variable) and compression are fairly standard I think. /usr/share/doc/packages/mt_st and http://www.linuxtapecert.org will have more info although I'm sure IBM has a Redbook for this drive.
--
-ckm
As an FYI, I got my tape running with compression, but using pure tar as my backup program I could not get it to stream (requires 15-30 MB/sec depending on data compressibility). SuSE 8.2 includes "buffer" to work with tar and with the combination I could get it to stream, but I lost the ability to write more than one tapes worth of backup. I found "mbuffer" or "Measuring Buffer" on the web and I downloaded/compiled/installed it. It is basically a replacement for buffer, but with better functionality from what I saw. Using "tar | mbuffer -o /dev/tape" (with appropriate args) I now have both a streaming tape drive and the ability to have my backup span multiple tapes. Another nice thing about mbuffer is it prints i/o speed and progress statistics throughout the backup process. Greg -- Greg Freemyer
On Friday 03 October 2003 13:17, Greg Freemyer wrote:
As an FYI, I got my tape running with compression, but using pure tar as my backup program I could not get it to stream (requires 15-30 MB/sec depending on data compressibility).
SuSE 8.2 includes "buffer" to work with tar and with the combination I could get it to stream, but I lost the ability to write more than one tapes worth of backup.
I found "mbuffer" or "Measuring Buffer" on the web and I downloaded/compiled/installed it.
Greg: You might look into bru www.tolisgroup.com . I'm not related to bru folks, but am a happy user. -- _____________________________________ John Andersen
-----Original Message-----
From: Greg Freemyer
I have just added a used IBM LTO Ultrium Gen 1 drive with a Adaptec 29160 to my server. The tape drive is the only device on the scsi bus.
So far I am just using the aic7xxx module that ships with SuSE 8.2
I think I have the basic functionality working (ie. /dev/st0), but I want to be able to use the compression feature of the drive.
I think that should be either /dev/st0a or /dev/st0m.
Unfortunately, neither of those devices seem to work.
Anyone know how to get them working?
Thanks Greg --
Look at mt tools for setting tape drive parameters. Ken
participants (5)
-
Bruce Marshall
-
Christopher Mahmood
-
Greg Freemyer
-
John Andersen
-
Ken Schneider