cdi_get_config(8)                                             cdi_get_config(8)

NAME

       cdi_get_config - get configuration information on a tape device


SYNOPSIS

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


DESCRIPTION

       The  cdi_get_config program obtains configuration information on a tape
       device.  The data output from this command is  collected from the  SCSI
       Mode Sense disconnect/reconnect, data compression and device configura-
       tion pages.


OPERANDS

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


OPTIONS

       -t     Use the -t option to specify the method of tape functions to use
              to  query  the  device for configuration 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 (8) manpage for a complete list of  access  methods  cur-
              rently supported by the cdi_get_config 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 including drive status information:

     % cdi_get_config -f /dev/rmt/2cbn -v

     CDI_GET_VERSION returns 1
     SCSI config info for   via /dev/rmt/2cbn:
             active_format                000d
             active_partition             00b8
             write_full_ratio             0000
             read_empty_ratio             007e
             write_delay_time             c950
             flags                        000000009cef2080
                     Parameters Savable
                     Change Active Format
                     Data Buffer Recovery
                     Block Identifiers Supported
                     Report Setmarks
                     Stop On Consecutive Filemarks:  Stop On 3 Consecutive Filemarks
                     Recover Buffer Order
                     Report Early Warning
                     EOD defined:    Reserved (4)
                     Enable EOD Generation
                     Sync at Early Warning
                     Soft Write Protection
             buffer_size_early_warning    00b80000
             data_compress_algorithm      0000
             discon_buffer_full           00ad
             discon_buffer_empty          00b8
             discon_bus_inactive          007e
             discon_time_limit            c950
             discon_connect_time_limit    ef75
             discon_max_burst_time        9eb8
             compression_algorithm        007ec950
             decompression_algorithm      ef759eb8
          cdi_info.drivestat is:

             status = 1, DRIVE_STATUS_NO_ERROR
             msg = Drive reports no error - but state is unknown


SEE ALSO

       libcdi(8)

NetWorker 8.0.1			 Dec 02, 12		     cdi_get_config(8)