RE: Problem with changer
2006-05-09 12:23:07
> From: Ian Turner
> Sent: 09 May 2006 16:54
>
> On Tuesday 09 May 2006 11:06, Jon LaBadie wrote:
> > > My autoloader is on /dev/st0 and tape are defined on /dev/nst0
> >
> > I don't think so.
> > st0 and nst0 are the "same" device handled differenly on close.
>
> The changer is probably on /dev/sg0 or /dev/sg1.
Yup - I would expect the device to use to talk to the changer to be of the form
/dev/sgN.
There's a pair of useful utilities that come as part of the mtx RPM -
loaderinfo and tapeinfo. If you use these with your sg devices it will soon
become clear which one is your changer. Even if you use loaderinfo on a
device which points at a tape drive) or even a disk drive) it's pretty obvious
what it is. Here's output from one of my machines ...
# loaderinfo -f /dev/sg9
Product Type: Disk Drive
Vendor ID: 'COMPAQ '
Product ID: 'BD300884C2 '
Revision: 'HPB7'
Attached Changer: No
Bar Code Reader: No
EAAP: No
Transport Geometry Descriptor Page: No
Device Configuration Page: No
# loaderinfo -f /dev/sg10
Product Type: Medium Changer
Vendor ID: 'HP '
Product ID: 'MSL6000 Series '
Revision: '0423'
Attached Changer: No
Bar Code Reader: Yes
EAAP: Yes
Number of Medium Transport Elements: 1
Number of Storage Elements: 58
Number of Import/Export Element Elements: 2
Number of Data Transfer Elements: 2
Transport Geometry Descriptor Page: Yes
Invertable: No
Device Configuration Page: Yes
Can Transfer: Yes
# loaderinfo -f /dev/sg11
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 2-SCSI '
Revision: 'F43W'
Attached Changer: No
Bar Code Reader: No
EAAP: No
Transport Geometry Descriptor Page: No
Device Configuration Page: No
Paul
|
|
|