That sounds reasonable. Let me probe around to find which device number the
tape responds to. It appears on different numbers because I have a huge
removable SCSI volume that enumerates earlier than the tape drive and
changer in the /dev/sg(x) list if it happens to be mounted today. If I left
it mounted all the time, the stupid desktop motherboard would try to boot
from this storage volume.

This error message takes about a minute to appear (/dev/nst0 behaves the
same way):
[EMAIL PROTECTED]:~# mtx -f /dev/st0 inquiry
cannot open SCSI device '/dev/st0' - Input/output error

This one comes back immediately (/dev/nst1 behaves the same way):
[EMAIL PROTECTED]:/dev# mtx -f /dev/st1 inquiry
cannot open SCSI device '/dev/st1' - No such device or address

This comes back immediately, but it's not the format you recommend:
[EMAIL PROTECTED]:/dev# mtx -f /dev/sg2 inquiry
Product Type: Tape Drive
Vendor ID: 'IBM     '
Product ID: 'ULTRIUM-TD3     '
Revision: '5BG2'
Attached Changer API: No

I don't know if this helps:
[EMAIL PROTECTED]:/dev# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: 3ware    Model: Logical Disk 0   Rev: 1.2
  Type:   Direct-Access                    ANSI SCSI revision: ffffffff
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: 3ware    Model: Logical Disk 5   Rev: 1.2
  Type:   Direct-Access                    ANSI SCSI revision: ffffffff
Host: scsi2 Channel: 00 Id: 03 Lun: 00
  Vendor: IBM      Model: ULTRIUM-TD3      Rev: 5BG2
  Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 03 Lun: 01
  Vendor: DELL     Model: PV-124T          Rev: 0031
  Type:   Medium Changer                   ANSI SCSI revision: 02

-dP

-----Original Message-----
From: Michael Nelson [spam-protected]
Sent: Friday, April 27, 2007 2:52 PM
To: Petcher, Daniel
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Two problems talking to Dell PowerVault 124T
(LTO3)

When you want to access the autochanger, you talk to /dev/sg3.  When you
want to talk to the tape drive (as in using btape) you want to pass it the
drive device, ie: /dev/nst0.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to