Content-type: text/html
The sn program will use several variations of the SCSI READ ELEMENT STATUS command to attempt to retrieve and display any serialization information that the library might have about the drives within it. For a description of the formatting of this information, see inquire(1m).
The device selected should be a SCSI medium changer device (i.e. a tape library or autochanger)
If you specify a device that is not a medium changer:
The device at scsidev@4.3.0 does not seem to be a medium changer
If you select a library that returns only serial numbers for the drives:
<Medium Changer Device HP C7200 G300 at scsidev@0.100.0>
<Medium Changer S/N> US0EG00002
<Medium Changer SCSI-3 Device Identifiers>
ATNN:HP C7200 US0EG00002
<Data Transfer Element 1>
<Serial Number> CXA21P1213
<Data Transfer Element 2>
<Serial Number> CXA18P2046
If you select a library that returns only SCSI-3 Device Identifiers for the drives:
<Medium Changer Device HP C7200 G300 at scsidev@0.100.0>
<Medium Changer S/N> US0EG00002
<Medium Changer SCSI-3 Device Identifiers>
ATNN:HP C7200 US0EG00002
<Data Transfer Element 1>
<SCSI-3 Device Identifiers>
ATNN:QUANTUM DLT8000 CXA21P1213
<Data Transfer Element 2>
<SCSI-3 Device Identifiers>
ATNN:QUANTUM DLT8000 CXA18P2046
If you select a library that returns both serial numbers and SCSI-3 Device Identifiers for the drives:
<Medium Changer Device HP C7200 G300 at scsidev@0.100.0>
<Medium Changer S/N> US0EG00002
<Medium Changer SCSI-3 Device Identifiers>
ATNN:HP C7200 US0EG00002
<Data Transfer Element 1>
<Serial Number> CXA21P1213
<SCSI-3 Device Identifiers>
ATNN:QUANTUM DLT8000 CXA21P1213
<Data Transfer Element 2>
<Serial Number> CXA18P2046
<SCSI-3 Device Identifiers>
ATNN:QUANTUM DLT8000 CXA18P2046