Ben,
Thanks. I see the difference now in the listing and should have before as
well. The tapes are listed as Data Transfer Elements (DTE) and the slots are
Storage Elements (SE), so the numbering does overlap some. The part I was
overlooking is that the MTX program defaults to drive 0 (DTE 0) and that you
can specify a DTE number as a second optional parameter to provide
multi-drive targeting. I am going to have to dig into the source to see how
it passes parameters to the changer script when two drives are defined.
Experimentation is now in order, unless of course you are already using your
Qualstar with Amanda and have a working script?
markh
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 9:44 AM
To: Mark Holm
Cc: 'Mitch Collinsworth'; '[EMAIL PROTECTED]'
Subject: Re: Qualstar TLS-4220 problems
> Unless I miss my guess, when the second drive is added it will show up as
1
> and the rest of the slots will move up one. MTX currently identifies the
> tape drive as slot 0, the holding slots as 1-20, the cleaning cartridge
> slots as 21-22, and the I/O port as 23. The only other option would be for
> the second drive to go to -1 and that doesn't make a whole lot of sense...
In MTX, tape drives and cartridge slots are disjoint as far as element
numbers are concerned. In other words, a second tape drive will show up as
drive #1, but your slots will still be numbered from 1 to 20. Here's an
example of a (mostly empty at the time) 2-drive library as reported by mtx:
%mtx -f /dev/pass2 status
Storage Changer /dev/pass2:2 Drives, 29 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 4 Loaded):VolumeTag = DLT003
Data Transfer Element 1:Empty
Storage Element 1:Full :VolumeTag=DLT000
Storage Element 2:Full :VolumeTag=DLT001
Storage Element 3:Full :VolumeTag=DLT002
Storage Element 4:Empty
Storage Element 5:Full :VolumeTag=DLT004
Storage Element 6:Full :VolumeTag=DLT005
Storage Element 7:Full :VolumeTag=DLT006
Storage Element 8:Empty
Storage Element 9:Empty
Storage Element 10:Empty
Storage Element 11:Empty
Storage Element 12:Empty
Storage Element 13:Empty
Storage Element 14:Full :VolumeTag=DLT031
Storage Element 15:Empty
Storage Element 16:Empty
Storage Element 17:Empty
Storage Element 18:Empty
Storage Element 19:Empty
Storage Element 20:Empty
Storage Element 21:Empty
Storage Element 22:Empty
Storage Element 23:Empty
Storage Element 24:Empty
Storage Element 25:Empty
Storage Element 26:Empty
Storage Element 27:Empty
Storage Element 28:Empty
Storage Element 29 IMPORT/EXPORT:Empty
Every other tape changer utility I've encountered starts numbering the
storage elements at 0 too. Dunno why mtx starts at 1.
-Ben
--
Benjamin Lewis Thank goodness modern convenience is a
Database Analyst/Programmer thing of the remote future.
Purdue University Computing Center -- Pogo, by Walt Kelly
[EMAIL PROTECTED]