Content-type: text/html Man page of SN

SN

Section: Maintenance Commands (8)
Updated: Dec 11, 01m
Index Return to Main Contents
 

NAME

sn - return tape library drive serial numbers  

SYNOPSIS

sn -a b.t.l  

DESCRIPTION

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).  

SIMPLE OPTIONS

-a b.t.l
Selects a specific ordinal SCSI address, where b is the logical SCSI bus, t is the SCSI target, and l is the SCSI logical unit number (LUN) on that target. See libscsi(1m).

The device selected should be a SCSI medium changer device (i.e. a tape library or autochanger)

 

Sample Output

If you specify a device that is not a medium changer:

The device at [email protected] 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 [email protected]>

<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 [email protected]>

<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 [email protected]>

<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

 

SEE ALSO

libscsi (1m), inquire (8), sjisn (8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SIMPLE OPTIONS
Sample Output
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:36:57 GMT, October 02, 2010