NetWorker command:      sn

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


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

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


SEE ALSO

       libscsi (8), inquire (8), sjisn (8)

NetWorker 7.5.1			 Mar 21, 09