Amanda-Users

Re: A last question (here) on chg-MTX-ZD

2003-08-08 11:29:54
Subject: Re: A last question (here) on chg-MTX-ZD
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 8 Aug 2003 11:27:32 -0400
On Fri, Aug 08, 2003 at 10:00:41AM -0500, Bruntel, Mitchell L wrote:
> Hopefully this is it.  sorry it's so lengthy.  
> 
> Question is kind of short.
> 
> In the changer script chg-zd-mtx script Variable :DriveSlot  
> is defined as 
>               Figure out the drive slot number.  By default, it is set to 0. 
> In the example above, 
>               the tape drive ("Data Transfer Element") is in slot 0. If your 
> drive slot is not 0, you
>               need to set the drive slot number with the "driveslot" variable.
> 
> ====================
> Here's the question.
> ====================
> I'm lucky(?) enough to have a three drive robot.

Here is my question, forgetting amanda, how would you load a tape, say
tape 44 into the third tape drive using the mtx command from the shell
prompt?  Never having had the 'luxury' of a multiple drive library,
I don't know if or how you can say something like:

   mtx -F <changerdev> load tape 44 into drive 2

But if you have to specify a number for the drive, I'd suspect that
is the number to use for the "driveslot".

BTW, you are using names like /dev/rmt/0 ...  I assume it is Solaris.
Those names are for the drives when reading and writing tapes.  I'd
expect that when your library is installed (or installed correctly :)
there would be a separate device created just for the changer mechanism.

The change device would be the device to use with mtx, not the read/write
devices.  Often the changer device gets created under /dev/scsi/... or
/dev/changer.  It may require editing of the /kernel/drv/sgen.conf file
before it can be created.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>