NetWorker command:      cdi_inq

NAME

       cdi_inq - get inquiry information from a tape device


SYNOPSIS

       cdi_inq -f device [ -v ] [ -t { s | t | g | n | m | i } ]


DESCRIPTION

       The  cdi_inq  program  obtains  inquiry information from a tape device.
       The data returned include Vital Product Data (VPD)  pages.   Note  that
       the  inquire (8) command can be used for a more comprehensive output of
       the serial number identifiers.


OPERANDS

       -f     device
            Specifies the device to obtain inquiry information from.


OPTIONS

       -t     Use the -t option to specify the method of tape functions to use
              to  query  the device for inquiry information.  If the -t option
              is not specified, the default method  is  to  use  the  OS  tape
              driver  SCSI  passthrough functions.  Please refer to the libcdi
              (1) manpage for a complete list of access methods currently sup-
              ported by the cdi_inq program.

       -v     Run the program in verbose mode.  This option will print out the
              version number of the CDI library used by the program.


EXAMPLES

       Sample output from cdi_inq:

     % cdi_inq -f /dev/rmt/2cbn

     Standard Inquiry data:
      Vendor:
      Product:
      Rev:

     VPD pages supported:
             Pages
       cdi_info.drivestat is:
         status = 1, DRIVE_STATUS_NO_ERROR
         msg = Drive reports no error - but state is unknown

     % cdi_inq -f /dev/rmt/0cbn

     Standard Inquiry data:
      Vendor:        QUANTUM
      Product:       DLT8000
      Rev:           0232

     VPD pages supported:
             Pages 00 80 83 c0 c1
      Serial number page (80):
             CX940P2410
      Device ID page (83):


SEE ALSO

       libcdi(8)
NetWorker 7.5.1			 Mar 21, 09