I have a Dell PowerVailt 120T DLT library, and want to see if I can get it
to work with Amanda. When working up to setting up chg-zd-mtx, I seem to be
having some weird issues:

If I cat /proc/scsi/scsi, here is my output:

<snip>

Attached devices:
Host: scsi2 Channel: 00 Id: 01 Lun: 00
  Vendor: ADIC     Model: FastStor DLT     Rev: D118
  Type:   Medium Changer                   ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 03 Lun: 00
  Vendor: BNCHMARK Model: DLT1             Rev: 391B
  Type:   Sequential-Access                ANSI SCSI revision: 02

<snip>

So it does see the loader device and the tape drive itself. If I run mtx
inquirys against those devices, here's what I get:

# mtx -f /dev/sga inquiry

Product Type: Medium Changer
Vendor ID: 'ADIC    '
Product ID: 'FastStor DLT    '
Revision: 'D118'
Attached Changer: No

# mtx -f /dev/sgb inquiry

Product Type: Tape Drive
Vendor ID: 'BNCHMARK'
Product ID: 'DLT1            '
Revision: '391B'
Attached Changer: No

That looks good. So now, if I try loading a tape using " mtx -f /dev/sga
load 1 " it works. But if I try unloading in the same fashion, I receive the
" MOVE MEDIUM from Element Address 82 to 1 Failed " error. Which means I
should use mt to rewind & eject the tape. Here's the results of using mt
against those devices:

# mt -f /dev/sga offline

/dev/sga: Permission denied

# mt -f /dev/sgb offline

/dev/sgb: Permission denied

Ok. It wasn't until I went to BRU's website that I found the following
command (that worked):

# mt -f /dev/nst0 offline

Then I can finish up by issuing a " mtx -f /dev/sga unload 1 ".


So, that explains what I've done... Now I was hoping someone could steer me
in the right direction with chg-zd-mtx. It does support using the " mt
<device> offline" but do I need to do anything special in my instance. And,
is my instance unusual, or is the tape drive itself usually seen as
/dev/nst0?

Sorry for the longwinded e-mail.

Nate D.

Reply via email to