Monday, 10 February 2014

Legato Commands part 2

sjirdtag : query slots

Sjirdtag scsidev@12.0.4

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\user5>Cd C:\Program Files\nsr\bin

C:\Program Files\nsr\bin>Sjirdtag scsidev@12.0.4
Tag Data for scsidev@12.0.4, Element Type DATA TRANSPORT:
        Elem[001]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PD47132                         >
        Elem[002]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PD46452                         >
        Elem[003]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000031                          >
        Elem[004]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PXV562                          >
Tag Data for scsidev@12.0.4, Element Type STORAGE:
        Elem[001]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[002]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[003]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[004]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PC36792                         >
        Elem[005]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PC36362                         >
        Elem[006]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PC36222                         >
        Elem[007]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<NKH110S3                        >
        Elem[008]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[009]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[010]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[011]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[012]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[013]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[014]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[015]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<NKH133S3                        >
        Elem[016]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<NKH150S3                        >
        Elem[017]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[018]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PD46462                         >
        Elem[019]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[020]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PYR325                          >
        Elem[021]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[022]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[023]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[024]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[025]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[026]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[027]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[028]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[029]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000088                          >
        Elem[030]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000080                          >
        Elem[031]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000045                          >
        Elem[032]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000042                          >
        Elem[033]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000030                          >
        Elem[034]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<000009                          >
        Elem[035]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[036]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[037]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[038]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[039]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[040]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[041]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[042]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<NKH111S3                        >
        Elem[043]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PC36902                         >
        Elem[044]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PC36892                         >
        Elem[045]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PYR284                          >
        Elem[046]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PC36912                         >
        Elem[047]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<PYR289                          >
        Elem[048]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[049]: tag_val=0 pres_val=1 med_pres=0 med_side=0
        Elem[050]: tag_val=1 pres_val=1 med_pres=1 med_side=0
                   VolumeTag=<CLN033                          >
Tag Data for scsidev@12.0.4, Element Type MEDIA TRANSPORT:
        Elem[001]: tag_val=0 pres_val=1 med_pres=0 med_side=0
Tag Data for scsidev@12.0.4, Element Type IMPORT/EXPORT:
        Elem[001]: tag_val=0 pres_val=1 inp_enab=1 exp_enab=1 access=1 full=0 im
p_exp=0
        Elem[002]: tag_val=0 pres_val=1 inp_enab=1 exp_enab=1 access=1 full=0 im
p_exp=0

sjiinq : query


C:\Program Files\nsr\bin>sjiinq scsidev@12.0.2
scsidev@12.0.2:<QUANTUM SDLT600         >

sjirelem : query elements on slots



Sjirelem scsidev@12.0.4

C:\Program Files\nsr\bin>Sjirelem scsidev@12.0.4
Element Data for scsidev@12.0.4, Element Type DATA TRANSPORT:
        Elem[001]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 19
        Elem[002]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 17
        Elem[003]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 14
        Elem[004]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 21
Element Data for scsidev@12.0.4, Element Type STORAGE:
        Elem[001]: pres_val=1 med_pres=0 med_side=0
        Elem[002]: pres_val=1 med_pres=0 med_side=0
        Elem[003]: pres_val=1 med_pres=0 med_side=0
        Elem[004]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 4
        Elem[005]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 5
        Elem[006]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 6
        Elem[007]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 7
        Elem[008]: pres_val=1 med_pres=0 med_side=0
        Elem[009]: pres_val=1 med_pres=0 med_side=0
        Elem[010]: pres_val=1 med_pres=0 med_side=0
        Elem[011]: pres_val=1 med_pres=0 med_side=0
        Elem[012]: pres_val=1 med_pres=0 med_side=0
        Elem[013]: pres_val=1 med_pres=0 med_side=0
        Elem[014]: pres_val=1 med_pres=0 med_side=0
        Elem[015]: pres_val=1 med_pres=1 med_side=0
        Elem[016]: pres_val=1 med_pres=1 med_side=0
        Elem[017]: pres_val=1 med_pres=0 med_side=0
        Elem[018]: pres_val=1 med_pres=1 med_side=0
        Elem[019]: pres_val=1 med_pres=0 med_side=0
        Elem[020]: pres_val=1 med_pres=1 med_side=0
        Elem[021]: pres_val=1 med_pres=0 med_side=0
        Elem[022]: pres_val=1 med_pres=0 med_side=0
        Elem[023]: pres_val=1 med_pres=0 med_side=0
        Elem[024]: pres_val=1 med_pres=0 med_side=0
        Elem[025]: pres_val=1 med_pres=0 med_side=0
        Elem[026]: pres_val=1 med_pres=0 med_side=0
        Elem[027]: pres_val=1 med_pres=0 med_side=0
        Elem[028]: pres_val=1 med_pres=0 med_side=0
        Elem[029]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 29
        Elem[030]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 30
        Elem[031]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 31
        Elem[032]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 32
        Elem[033]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 33
        Elem[034]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 34
        Elem[035]: pres_val=1 med_pres=0 med_side=0
        Elem[036]: pres_val=1 med_pres=0 med_side=0
        Elem[037]: pres_val=1 med_pres=0 med_side=0
        Elem[038]: pres_val=1 med_pres=0 med_side=0
        Elem[039]: pres_val=1 med_pres=0 med_side=0
        Elem[040]: pres_val=1 med_pres=0 med_side=0
        Elem[041]: pres_val=1 med_pres=0 med_side=0
        Elem[042]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 42
        Elem[043]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 43
        Elem[044]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 44
        Elem[045]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 45
        Elem[046]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 46
        Elem[047]: pres_val=1 med_pres=1 med_side=0
                   Origin: type STORAGE, address 47
        Elem[048]: pres_val=1 med_pres=0 med_side=0
        Elem[049]: pres_val=1 med_pres=0 med_side=0
        Elem[050]: pres_val=1 med_pres=1 med_side=0
Element Data for scsidev@12.0.4, Element Type MEDIA TRANSPORT:
        Elem[001]: pres_val=1 med_pres=0 med_side=0
Element Data for scsidev@12.0.4, Element Type IMPORT/EXPORT:
        Elem[001]: pres_val=1 inp_enab=1 exp_enab=1 access=1 full=0 imp_exp=0
        Elem[002]: pres_val=1 inp_enab=1 exp_enab=1 access=1 full=0 imp_exp=0

Sjirjc : query total system



C:\Program Files\nsr\bin>Sjirjc scsidev@12.0.4

                Device: scsidev@12.0.4

                   Number of Drives: 4
                 Number Drive Pairs: 1
   Number of Import/Export Elements: 2
      Number of Import/Export Pairs: 1
                    Number of Slots: 50
               Number of Slot Pairs: 1
       Number of Transport Elements: 1
          Number of Transport Pairs: 1

      Volume Tags Supported
Initialize Element Status Supported
        Bar Codes Supported




NEW QUERIES 


C:\Program Files\nsr\bin>Sjirjc scsidev@12.0.0

                Device: scsidev@12.0.0

                   Number of Drives: 0
                 Number Drive Pairs: 1
   Number of Import/Export Elements: 0
      Number of Import/Export Pairs: 1
                    Number of Slots: 0
               Number of Slot Pairs: 1
       Number of Transport Elements: 3
          Number of Transport Pairs: 1

      Volume Tags Supported
Initialize Element Status Supported


C:\Program Files\nsr\bin>Sjirjc scsidev@12.0.1
SJIRJC: Resource device
Code:0x29, Str=<Input/output error>

C:\Program Files\nsr\bin>Sjirjc scsidev@12.0.2

                Device: scsidev@12.0.2

                   Number of Drives: 0
                 Number Drive Pairs: 1
   Number of Import/Export Elements: 0
      Number of Import/Export Pairs: 1
                    Number of Slots: 0
               Number of Slot Pairs: 1
       Number of Transport Elements: 3
          Number of Transport Pairs: 1

      Volume Tags Supported
Initialize Element Status Supported


C:\Program Files\nsr\bin>Sjirjc scsidev@12.0.3

                Device: scsidev@12.0.3

                   Number of Drives: 0
                 Number Drive Pairs: 1
   Number of Import/Export Elements: 0
      Number of Import/Export Pairs: 1
                    Number of Slots: 0
               Number of Slot Pairs: 1
       Number of Transport Elements: 3
          Number of Transport Pairs: 1

      Volume Tags Supported
Initialize Element Status Supported


C:\Program Files\nsr\bin>Sjirjc scsidev@12.0.4

                Device: scsidev@12.0.4

                   Number of Drives: 4
                 Number Drive Pairs: 1
   Number of Import/Export Elements: 2
      Number of Import/Export Pairs: 1
                    Number of Slots: 50
               Number of Slot Pairs: 1
       Number of Transport Elements: 1
          Number of Transport Pairs: 1

      Volume Tags Supported
Initialize Element Status Supported
        Bar Codes Supported


C:\Program Files\nsr\bin>




Sjisn : query serial numbers


Sjisn scsidev@12.0.4

C:\Program Files\nsr\bin>Sjisn scsidev@12.0.4
Serial Number data for scsidev@12.0.4 (OVERLAND NEO Series      ):
        Library:
                Serial Number: 2B50900170
                SCSI-3 Device Identifiers:
                        ATNN:OVERLANDNEO Series      2B50900170
                        IENN:00900D0713FA00AA
        Drive at element address 480:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         QD0726AMC00080
        Drive at element address 481:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         RB0509AMC05311
        Drive at element address 482:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         RB0524AMC05029
        Drive at element address 483:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         RB0549AMC05896



NEW QUERIES


C:\Program Files\nsr\bin>Sjisn scsidev@12.0.4
Serial Number data for scsidev@12.0.4 (OVERLAND NEO Series      ):
        Library:
                Serial Number: 2B50900170
                SCSI-3 Device Identifiers:
                        ATNN:OVERLANDNEO Series      2B50900170
                        IENN:00900D0713FA00AA
        Drive at element address 480:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         QD0726AMC00080
        Drive at element address 481:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         RB0509AMC05311
        Drive at element address 482:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         RB0524AMC05029
        Drive at element address 483:
                SCSI-3 Device Identifiers:
                        ATNN:QUANTUM SDLT600         RB0549AMC05896




Sn : query serial number



C:\Program Files\nsr\bin>sn -a 12.0.4
<Medium Changer Device OVERLAND NEO Series       0429 at scsidev@12.0.4>
        <Medium Changer S/N>    2B50900170
        <Medium Changer SCSI-3 Device Identifiers>
                ATNN:OVERLANDNEO Series      2B50900170
                IENN:00900D0713FA00AA
<Data Transfer Element 480>
        <SCSI-3 Device Identifiers>
                ATNN:QUANTUM SDLT600         QD0726AMC00080
<Data Transfer Element 481>
        <SCSI-3 Device Identifiers>
                ATNN:QUANTUM SDLT600         RB0509AMC05311
<Data Transfer Element 482>
        <SCSI-3 Device Identifiers>
                ATNN:QUANTUM SDLT600         RB0524AMC05029
<Data Transfer Element 483>
        <SCSI-3 Device Identifiers>
                ATNN:QUANTUM SDLT600         RB0549AMC05896

C:\Program Files\nsr\bin>




TAPE COMMANDS

Cdi configuration : tape information


Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\user5>cdi_block_limits -f \\.\tape0
Block size limits returned from QUANTUM  SDLT600          accessed through \\.\t
ape0
         maximum block size allowed is 16777212
         minimum block size allowed is 4
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Documents and Settings\user5>cdi_block_limits -f \\.\tape1
Block size limits returned from QUANTUM  SDLT600          accessed through \\.\t
ape1
         maximum block size allowed is 16777212
         minimum block size allowed is 4
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Documents and Settings\user5>cdi_block_limits -f \\.\tape2
cdi_cmd get block limits failed for QUANTUM  SDLT600          via \\.\tape2: cdi
_info.status = CDI_CHECK_CONDITION (1)

C:\Documents and Settings\user5>cdi_block_limits -f \\.\tape3
Block size limits returned from QUANTUM  SDLT600          accessed through \\.\t
ape3
         maximum block size allowed is 16777212
         minimum block size allowed is 4
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Documents and Settings\user5>

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 configuration
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 (1m) manpage for a complete list of access
methods currently 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.

C:\Program Files\nsr\bin>cdi_get_config -f \\.\Tape0 -v
CDI_GET_VERSION returns 2
SCSI config info for QUANTUM  SDLT600          via \\.\Tape0:
        active_format                0000
        active_partition             0008
        write_full_ratio             004a
        read_empty_ratio             0000
        write_delay_time             0000
        flags                        0000000000000000
        buffer_size_early_warning    0000100e
        data_compress_algorithm      0000
        discon_buffer_full           0000
        discon_buffer_empty          0000
        discon_bus_inactive          020e
        discon_time_limit            0000
        discon_connect_time_limit    0000
        discon_max_burst_time        0000
        compression_algorithm        4a000000
        decompression_algorithm      00000000
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_get_config -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
SCSI config info for QUANTUM  SDLT600          via \\.\Tape1:
        active_format                0000
        active_partition             0008
        write_full_ratio             004a
        read_empty_ratio             0000
        write_delay_time             0000
        flags                        0000000000000000
        buffer_size_early_warning    0000100e
        data_compress_algorithm      0000
        discon_buffer_full           0000
        discon_buffer_empty          0000
        discon_bus_inactive          020e
        discon_time_limit            0000
        discon_connect_time_limit    0000
        discon_max_burst_time        0000
        compression_algorithm        4a000000
        decompression_algorithm      00000000
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_get_config -f \\.\Tape2 -v
CDI_GET_VERSION returns 2
SCSI config info for QUANTUM  SDLT600          via \\.\Tape2:
        active_format                0000
        active_partition             0008
        write_full_ratio             004a
        read_empty_ratio             0000
        write_delay_time             0000
        flags                        0000000000000000
        buffer_size_early_warning    0000100e
        data_compress_algorithm      0000
        discon_buffer_full           0000
        discon_buffer_empty          0000
        discon_bus_inactive          020e
        discon_time_limit            0000
        discon_connect_time_limit    0000
        discon_max_burst_time        0000
        compression_algorithm        4a000000
        decompression_algorithm      00000000
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_get_config -f \\.\Tape3 -v
CDI_GET_VERSION returns 2
SCSI config info for QUANTUM  SDLT600          via \\.\Tape3:
        active_format                0000
        active_partition             0008
        write_full_ratio             004a
        read_empty_ratio             0000
        write_delay_time             0000
        flags                        0000000000000000
        buffer_size_early_warning    0000100e
        data_compress_algorithm      0000
        discon_buffer_full           0000
        discon_buffer_empty          0000
        discon_bus_inactive          020e
        discon_time_limit            0000
        discon_connect_time_limit    0000
        discon_max_burst_time        0000
        compression_algorithm        4a000000
        decompression_algorithm      00000000
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>



NEW QUERY

C:\Program Files\nsr\bin>cdi_get_config -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
SCSI config info for QUANTUM  SDLT600          via \\.\Tape1:
        active_format                0000
        active_partition             0008
        write_full_ratio             004a
        read_empty_ratio             0000
        write_delay_time             0000
        flags                        0000000000000000
        buffer_size_early_warning    0000100e
        data_compress_algorithm      0000
        discon_buffer_full           0000
        discon_buffer_empty          0000
        discon_bus_inactive          020e
        discon_time_limit            0000
        discon_connect_time_limit    0000
        discon_max_burst_time        0000
        compression_algorithm        4a000000
        decompression_algorithm      00000000
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown





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

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

% cdi_inq -f /dev/rmt/2cbn –v


C:\Program Files\nsr\bin>cdi_get_status -f \\.\Tape0 -v
CDI_GET_VERSION returns 2
CDI_GET_STATUS returns:
DRIVE_STATUS_READY
current density code = 4a
position is absolute block number 0

C:\Program Files\nsr\bin>cdi_get_status -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
CDI_GET_STATUS returns:
DRIVE_STATUS_READY
current density code = 4a
position is absolute block number 1132276

C:\Program Files\nsr\bin>cdi_get_status -f \\.\Tape2 -v
CDI_GET_VERSION returns 2
CDI_GET_STATUS returns:
DRIVE_STATUS_READY
current density code = 4a
position is absolute block number 0

C:\Program Files\nsr\bin>cdi_get_status -f \\.\Tape3 -v
CDI_GET_VERSION returns 2
CDI_GET_STATUS returns:
DRIVE_STATUS_READY
current density code = 4a
position is absolute block number 0

C:\Program Files\nsr\bin>




NEW QUERY
C:\Program Files\nsr\bin>cdi_get_status -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
CDI_GET_STATUS returns:
DRIVE_STATUS_NO_TAPE
Sense key = 02, ASC = 3a ASCQ = 00

C:\Program Files\nsr\bin>cdi_inq -f \\.\Tape0 -v
CDI_GET_VERSION returns 2
Standard Inquiry data:
 Vendor:        QUANTUM
 Product:       SDLT600
 Rev:           2A2A

VPD pages supported:
        Pages 00 80 83 b0 b1 c0 c1
 Serial number page (80):
        QD0726AMC00080
 Device ID page (83):
        ATNN:QUANTUM SDLT600         QD0726AMC00080
        WWNN:500E09E000184383
        PORT:00000001
 Vendor unique page b0
        01 00 00 00
 Vendor unique page b1
        51 44 30 37 32 36 41 4d 43 30 30 30 38 30 20 20
 Vendor unique page c0
        2a 00 00 00 2d a8 39 e5 00 00 00 00 25 26 a7 40   *...-.9.....%&.@X
        32 39 2d 4a 75 6e 2d 32 30 30 36 20 31 33 3a 35   29-Jun-2006 13:5
        32 3a 35 36 00 00 00 00
 Vendor unique page c1
        c3 2a 00 2a 02 04 01 01 00 00 00 00 00 00 00 02   .*.*............
        41 30 32 20 37 30 2d 38 35 32 36 34 2d 31 33 20   A02 70-85264-13
        20 20 20 20 20 20 20 20
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_inq -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
Standard Inquiry data:
 Vendor:        QUANTUM
 Product:       SDLT600
 Rev:           1F1F

VPD pages supported:
        Pages 00 80 83 c0 c1
 Serial number page (80):
        RB0509AMC05311
 Device ID page (83):
        ATNN:QUANTUM SDLT600         RB0509AMC05311
        WWNN:500E09E000147CF8
 Vendor unique page c0
        1f 00 00 00 bd 0c 75 45 00 00 00 00 33 d2 29 30   ......uE....3.)0X
        32 35 2d 41 75 67 2d 32 30 30 34 20 32 31 3a 34   25-Aug-2004 21:4
        37 3a 32 35 00 00 00 00
 Vendor unique page c1
        03 1f 00 1e 05 04 01 01 00 00 00 00 00 00 00 02   ................
        41 30 32 20 37 30 2d 38 35 32 36 34 2d 30 33 20   A02 70-85264-03
        20 20 20 20 20 20 20 20
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_inq -f \\.\Tape2 -v
CDI_GET_VERSION returns 2
Standard Inquiry data:
 Vendor:        QUANTUM
 Product:       SDLT600
 Rev:           3535

VPD pages supported:
        Pages 00 80 83 b0 b1 c0 c1
 Serial number page (80):
        RB0524AMC05029
 Device ID page (83):
        ATNN:QUANTUM SDLT600         RB0524AMC05029
        WWNN:500E09E00015F440
        PORT:00000001
 Vendor unique page b0
        01 00 00 00
 Vendor unique page b1
        52 42 30 35 32 34 41 4d 43 30 35 30 32 39 20 20
 Vendor unique page c0
        35 02 00 00 a0 da 08 39 00 00 00 00 b3 d5 a5 a1   5......9........X
        33 30 2d 4a 75 6c 2d 32 30 30 38 20 32 32 3a 30   30-Jul-2008 22:0
        35 3a 35 31 00 00 00 00
 Vendor unique page c1
        c3 35 00 33 01 04 01 01 00 00 00 00 00 00 00 02   .5.3............
        41 30 32 20 37 30 2d 38 35 32 36 34 2d 30 33 20   A02 70-85264-03
        20 20 20 20 20 20 20 20
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_inq -f \\.\Tape3 -v
CDI_GET_VERSION returns 2
Standard Inquiry data:
 Vendor:        QUANTUM
 Product:       SDLT600
 Rev:           3535

VPD pages supported:
        Pages 00 80 83 b0 b1 c0 c1
 Serial number page (80):
        RB0549AMC05896
 Device ID page (83):
        ATNN:QUANTUM SDLT600         RB0549AMC05896
        WWNN:500E09E000166951
        PORT:00000001
 Vendor unique page b0
        01 00 00 00
 Vendor unique page b1
        52 42 30 35 34 39 41 4d 43 30 35 38 39 36 20 20
 Vendor unique page c0
        35 02 00 00 a0 da 08 39 00 00 00 00 b3 d5 a5 a1   5......9........X
        33 30 2d 4a 75 6c 2d 32 30 30 38 20 32 32 3a 30   30-Jul-2008 22:0
        35 3a 35 31 00 00 00 00
 Vendor unique page c1
        c3 35 00 33 01 04 01 01 00 00 00 00 00 00 00 02   .5.3............
        41 30 32 20 37 30 2d 38 35 32 36 34 2d 30 33 20   A02 70-85264-03
        20 20 20 20 20 20 20 20
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>


NEW QUERY
C:\Program Files\nsr\bin>cdi_inq -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
Standard Inquiry data:
 Vendor:        QUANTUM
 Product:       SDLT600
 Rev:           1F1F

VPD pages supported:
        Pages 00 80 83 c0 c1
 Serial number page (80):
        RB0509AMC05311
 Device ID page (83):
        ATNN:QUANTUM SDLT600         RB0509AMC05311
        WWNN:500E09E000147CF8
 Vendor unique page c0
        1f 00 00 00 bd 0c 75 45 00 00 00 00 33 d2 29 30   ......uE....3.)0X
        32 35 2d 41 75 67 2d 32 30 30 34 20 32 31 3a 34   25-Aug-2004 21:4
        37 3a 32 35 00 00 00 00
 Vendor unique page c1
        03 1f 00 1e 05 04 01 01 00 00 00 00 00 00 00 02   ................
        41 30 32 20 37 30 2d 38 35 32 36 34 2d 30 33 20   A02 70-85264-03
        20 20 20 20 20 20 20 20
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown


NAME
cdi_set_compression - set or unset compression on a tape device
SYNOPSIS
cdi_set_compression
−f device [ −v ] [ −c {Yes | y | 1 | No | n | 0} ] [ −t { s | t | g | n | m | i } ]
DESCRIPTION
The cdi_set_compression program sets or unsets compression on a tape device. This program is functional
only on NT. On all other OS platforms, the program does nothing but returns SUCCESS.
OPERANDS
−f device
Specifies the device to perform the SCSI command operation. The −f option is a required option.
OPTIONS
−c [Yes | y | 1 | No | n | 0]
Specify whether to set or unset compression on the tape device. Use Yes , y , or 1 to set compression
on the tape device. Use No , n , or 0 to unset compression on the tape device. The default is to unset
compression on a tape device.

NAME
cdi_ta - get TapeAlert information from or set TapeAlert on a tape device
SYNOPSIS
cdi_ta −f device [ −d ] [ −i interval ] [ −l ] [ −m MRIE ] [ −n testflag ] [ −s ] [ −v ] [ −t { s | t | g | n | m | i }
]
DESCRIPTION
The cdi_ta program gets from or sets TapeAlert information on a tape device. The cdi_ta program also
returns the status of the named SCSI device (specified by the -f option). Note that not all devices support
the TapeAlert feature. If the device does not support the TapeAlert feature or the TapeAlert data returned
by the device is invalid, cdi_ta will return the status CDI_IOCTL_ERROR (11). The set TapeAlert operation
is currently not functional.
OPERANDS
−f device
Specifies the device to send the ta SCSI command to.
OPTIONS
−d Set the DExcept field to 1. If set to 1, disable all informational exception operations and ignore
the MRIE field. The software must poll the TapeAlert log page. The default value for the DExcept
field is 0.

OPTIONS
−d Set the DExcept field to 1. If set to 1, disable all informational exception operations and ignore
the MRIE field. The software must poll the TapeAlert log page. The default value for the DExcept
field is 0.
−i interval
Set the interval timer for reporting exception conditions. If interval is set to 0, report informational
exception conditions only once. The default value for the interval timer is 0.
−l Set what types of exception conditions are logged. If set to 0, which is the default, log only vendor
specific exception conditions. This flag sets the log error condition to 1. The default is 0.
−m MRIE
Define the method used to report informational exception conditions. Values of 0x0 through 0x5 for
the MRIE are defined as:
VALUE METHOD
0x0 No reporting
0x1 Asynchronous ev ent reporting
0x3 Conditionally generate recovered error
0x4 Unconditionally generate recovered error
0x5 Generate no sense
0x6 Only report informational exception conditions on request
Currently, only value 0x0 is supported.

ANOTHER TAPE INFORMATION
% cdi_ta -f /dev/rmt/2cbn



C:\Program Files\nsr\bin>cdi_ta -f \\.\Tape0 -v
CDI_GET_VERSION returns 2
CDI Get_TapeAlert returns:
Tape Critical flags:
        Media is clear
        Read failure is clear
        Write failure is clear
        Write protect is clear
        Recoverable snapped tape is clear
        Unrecoverable snapped tape is clear
        Forced eject is clear
        Clean now is SET
        Expired cleaning media is clear
        Invalid cleaning tape is clear
        Hardware a is clear
        Hardware b is clear
        Eject media is clear
        Predictive failure is clear
        Tape system area write failure is clear
        Tape system area read failure is clear
        No start of data is clear

Tape Warning flags:
        Read warning is clear
        Write warning is clear
        Hard error is clear
        Media life is clear
        Not data grade is clear
        Memory chip in cartridge failure is clear
        Read only format is clear
        Tape directory corrupted on load is clear
        Clean periodic is clear
        Retention requested is clear
        Dual port interface error is clear
        Cooling fan failure is clear
        Power supply is clear
        Power consumption is clear
        Drive maintenance is clear
        Interface error is clear
        Download fail is clear
        Drive humidity is clear
        Drive temperature is clear
        Drive voltage is clear
        Diagnostics required is clear
        Lost statistics is clear
        Tape directory invalid at unload is clear

Tape Information flags:
        No removal is clear
        Cleaning media is clear
        Unsupported format is clear
        Nearing media life is clear

Changer Critical flags:
        Loader hardware a is clear
        Loader stray tape is clear
        Loader door is clear
        Loader hardware c is clear
        Loader magazine is clear

Changer Warning flags:
        Loader hardware b is clear
        Loader predictive failure is clear

Changer Information flags:
        no flags in this class
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_ta -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
CDI Get_TapeAlert returns:
Tape Critical flags:
        Media is clear
        Read failure is clear
        Write failure is clear
        Write protect is clear
        Recoverable snapped tape is clear
        Unrecoverable snapped tape is clear
        Forced eject is clear
        Clean now is clear
        Expired cleaning media is clear
        Invalid cleaning tape is clear
        Hardware a is clear
        Hardware b is clear
        Eject media is clear
        Predictive failure is clear
        Tape system area write failure is clear
        Tape system area read failure is clear
        No start of data is clear

Tape Warning flags:
        Read warning is clear
        Write warning is clear
        Hard error is clear
        Media life is clear
        Not data grade is clear
        Memory chip in cartridge failure is clear
        Read only format is clear
        Tape directory corrupted on load is clear
        Clean periodic is clear
        Retention requested is clear
        Dual port interface error is clear
        Cooling fan failure is clear
        Power supply is clear
        Power consumption is clear
        Drive maintenance is clear
        Interface error is clear
        Download fail is clear
        Drive humidity is clear
        Drive temperature is clear
        Drive voltage is clear
        Diagnostics required is clear
        Lost statistics is clear
        Tape directory invalid at unload is clear

Tape Information flags:
        No removal is clear
        Cleaning media is clear
        Unsupported format is clear
        Nearing media life is clear

Changer Critical flags:
        Loader hardware a is clear
        Loader stray tape is clear
        Loader door is clear
        Loader hardware c is clear
        Loader magazine is clear

Changer Warning flags:
        Loader hardware b is clear
        Loader predictive failure is clear

Changer Information flags:
        no flags in this class
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_ta -f \\.\Tape2 -v
CDI_GET_VERSION returns 2
CDI Get_TapeAlert returns:
Tape Critical flags:
        Media is clear
        Read failure is clear
        Write failure is clear
        Write protect is clear
        Recoverable snapped tape is clear
        Unrecoverable snapped tape is clear
        Forced eject is clear
        Clean now is clear
        Expired cleaning media is clear
        Invalid cleaning tape is clear
        Hardware a is clear
        Hardware b is clear
        Eject media is clear
        Predictive failure is clear
        Tape system area write failure is clear
        Tape system area read failure is clear
        No start of data is clear

Tape Warning flags:
        Read warning is clear
        Write warning is clear
        Hard error is clear
        Media life is clear
        Not data grade is clear
        Memory chip in cartridge failure is clear
        Read only format is clear
        Tape directory corrupted on load is clear
        Clean periodic is clear
        Retention requested is clear
        Dual port interface error is clear
        Cooling fan failure is clear
        Power supply is clear
        Power consumption is clear
        Drive maintenance is clear
        Interface error is clear
        Download fail is clear
        Drive humidity is clear
        Drive temperature is clear
        Drive voltage is clear
        Diagnostics required is clear
        Lost statistics is clear
        Tape directory invalid at unload is clear

Tape Information flags:
        No removal is clear
        Cleaning media is clear
        Unsupported format is clear
        Nearing media life is clear

Changer Critical flags:
        Loader hardware a is clear
        Loader stray tape is clear
        Loader door is clear
        Loader hardware c is clear
        Loader magazine is clear

Changer Warning flags:
        Loader hardware b is clear
        Loader predictive failure is clear

Changer Information flags:
        no flags in this class
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_ta -f \\.\Tape3 -v
CDI_GET_VERSION returns 2
CDI Get_TapeAlert returns:
Tape Critical flags:
        Media is clear
        Read failure is clear
        Write failure is clear
        Write protect is clear
        Recoverable snapped tape is clear
        Unrecoverable snapped tape is clear
        Forced eject is clear
        Clean now is clear
        Expired cleaning media is clear
        Invalid cleaning tape is clear
        Hardware a is clear
        Hardware b is clear
        Eject media is clear
        Predictive failure is clear
        Tape system area write failure is clear
        Tape system area read failure is clear
        No start of data is clear

Tape Warning flags:
        Read warning is clear
        Write warning is clear
        Hard error is clear
        Media life is clear
        Not data grade is clear
        Memory chip in cartridge failure is clear
        Read only format is clear
        Tape directory corrupted on load is clear
        Clean periodic is clear
        Retention requested is clear
        Dual port interface error is clear
        Cooling fan failure is clear
        Power supply is clear
        Power consumption is clear
        Drive maintenance is clear
        Interface error is clear
        Download fail is clear
        Drive humidity is clear
        Drive temperature is clear
        Drive voltage is clear
        Diagnostics required is clear
        Lost statistics is clear
        Tape directory invalid at unload is clear

Tape Information flags:
        No removal is clear
        Cleaning media is clear
        Unsupported format is clear
        Nearing media life is clear

Changer Critical flags:
        Loader hardware a is clear
        Loader stray tape is clear
        Loader door is clear
        Loader hardware c is clear
        Loader magazine is clear

Changer Warning flags:
        Loader hardware b is clear
        Loader predictive failure is clear

Changer Information flags:
        no flags in this class
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>

NEW QUERY



C:\Program Files\nsr\bin>cdi_ta -f \\.\Tape1 -v
CDI_GET_VERSION returns 2
CDI Get_TapeAlert returns:
Tape Critical flags:
        Media is clear
        Read failure is clear
        Write failure is clear
        Write protect is clear
        Recoverable snapped tape is clear
        Unrecoverable snapped tape is clear
        Forced eject is clear
        Clean now is SET
        Expired cleaning media is clear
        Invalid cleaning tape is clear
        Hardware a is clear
        Hardware b is clear
        Eject media is clear
        Predictive failure is clear
        Tape system area write failure is clear
        Tape system area read failure is clear
        No start of data is clear
Tape Warning flags:
        Read warning is clear
        Write warning is clear
        Hard error is clear
        Media life is clear
        Not data grade is clear
        Memory chip in cartridge failure is clear
        Read only format is clear
        Tape directory corrupted on load is clear
        Clean periodic is clear
        Retention requested is clear
        Dual port interface error is clear
        Cooling fan failure is clear
        Power supply is clear
        Power consumption is clear
        Drive maintenance is clear
        Interface error is clear
        Download fail is clear
        Drive humidity is clear
        Drive temperature is clear
        Drive voltage is clear
        Diagnostics required is clear
        Lost statistics is clear
        Tape directory invalid at unload is clear

Tape Information flags:
        No removal is clear
        Cleaning media is clear
        Unsupported format is clear
        Nearing media life is clear

Changer Critical flags:
        Loader hardware a is clear
        Loader stray tape is clear
        Loader door is clear
        Loader hardware c is clear
        Loader magazine is clear

Changer Warning flags:
        Loader hardware b is clear
        Loader predictive failure is clear

Changer Information flags:
        no flags in this class
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown







Sample output including drive status information:
% cdi_tapesize -f /dev/rmt/2cbn



C:\Program Files\nsr\bin>cdi_tapesize -f \\.\Tape0
CDI Get_Tape_Size returns:
Tape size: 300000000
Tape left: 0
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_tapesize -f \\.\Tape1
CDI Get_Tape_Size returns:
Tape size: 300000000
Tape left: 0
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_tapesize -f \\.\Tape2
CDI Get_Tape_Size returns:
Tape size: 300000000
Tape left: 0
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown

C:\Program Files\nsr\bin>cdi_tapesize -f \\.\Tape3
CDI Get_Tape_Size returns:
Tape size: 300000000
Tape left: 0
  cdi_info.drivestat is:
    status = 1, DRIVE_STATUS_NO_ERROR
    msg = Drive reports no error - but state is unknown


SEND TEST UNIT READY

Sample output including drive status information:
% cdi_tur -f /dev/rmt/2cbn



C:\Program Files\nsr\bin>cdi_tur -f \\.\Tape3
 CDI_TUR successful.
  cdi_info.drivestat is:
    status = 0, DRIVE_STATUS_READY
    msg = The tape drive is ready for use

C:\Program Files\nsr\bin>cdi_tur -f \\.\Tape2
 CDI_TUR successful.
  cdi_info.drivestat is:
    status = 0, DRIVE_STATUS_READY
    msg = The tape drive is ready for use

C:\Program Files\nsr\bin>cdi_tur -f \\.\Tape1
 CDI_TUR successful.
  cdi_info.drivestat is:
    status = 0, DRIVE_STATUS_READY
    msg = The tape drive is ready for use

C:\Program Files\nsr\bin>cdi_tur -f \\.\Tape0
 CDI_TUR successful.
  cdi_info.drivestat is:
    status = 0, DRIVE_STATUS_READY
    msg = The tape drive is ready for use

C:\Program Files\nsr\bin>



NEW QUERY
C:\Program Files\nsr\bin>cdi_tur -f \\.\Tape1
 CDI_TUR failed.
  cdi_info.status = CDI_CHECK_CONDITION (1)
  cdi_info.drivestat is:
    status = 10, DRIVE_STATUS_NO_TAPE
    msg = There is not a tape in the drive

ldunld

NAME
ldunld − load or unload a tape device
SYNOPSIS
ldunld { -u | -l } [ -a b.t.l ]
DESCRIPTION
The ldunld program sends a load or unload command to a specified device.
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)). This is a required option.
-u Unloads media from the specified device.
-l Loads media to the specified device.

Ldunld –u scsidev@12.0.1

C:\Program Files\nsr\bin>ldunld -a 12.0.1 -u
Check Condition for cmd 'LOAD/UNLOAD':
 No Additional Sense, Medium Not Present
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00 0x8b 0x22 0x3c 0x00 0x00 0xde
         24: 0x00 0x00 0x00 0x00 0x00 0x00

Erase

NAME
erase − erase a tape
SYNOPSIS
erase [ -sr ] -a b.t.l
DESCRIPTION
The erase program will send the SCSI ERASE command to the named device, using the LONG erase
option unless the optional -s argument is specified.
OPTIONS
−s Uses the SHORT erase option, rather than the LONG option. LONG is used by default.
−r sends a REWIND command to the named device prior to issuing an erase command.
−a This is a required argument, and must be used to select a specific ordinal SCSI address (see libscsi(
1m)) for the device that has the tape.

Test tapes

TEST TAPES BY WRITING TO THEM
% generate_test_tape -f /dev/rmt/3cbn -b 20 -s 2 –v

Dasadmin

To see a listing of all volsers available in the silo:
dasadmin qvolsrange "" "" 10000
To see the current status of the drives in the silo:
dasadmin listd

DESCRIPTION
dasadmin
This is not a complete listing of all possible dasadmin commands, but does include those commands that
are of use with NetWorker. For a complete discussion, see the DAS Installation and Administration guide
provided by ADIC, EMASS or Grau.
mo[unt] [ −t type ] volser [ drive-name ]
Mounts the tape with the barcode label of volser into either the first available drive (if drive-name
is not specified) or into the drive specified by drive-name. If the tape is not the type defined by
DAS_MEDIUM or ACI_MEDIA_TYPE, you can use the −t type option to get the tape
mounted. If the type of the tape and the defined type for the drive do not match, the silo will not
load the tape. Note that the drive you are attempting to use must be allocated for your use before
you can mount or dismount tapes. See listd and allocd below.
dism[ount] [ −t type ] volser | −d drive-name
Dismounts the tape that is either specified by volser or whatever is in the drive specified by drivename.
If the tape or drive are of a different type than your default, use the −t type parameter. As
with mount, you must have the drive allocated to you to use this command.
ej[ect] [ −c ] [ −t type ] volser-range area-name
Ejects one or more tapes to the specified eject area. As with other commands, if the type of the
tape you are ejecting is different from that defined by DAS_MEDIUM or ACI_MEDIA_TYPE,
you will need the −t type option. The −c specifies a ’complete’ ejection for the specified volsers.
A complete ejection removes the entry for that volser from the silo controller’s internal database.
A NON-complete ejection will eject the tape, but the volser’s entry in the database will remain,
and the volser’s state will be set to ’ejected’. This is useful if you anticipate replacing the tape in
the silo soon.
in[sert] area-name
Moves all tapes that are currently in the specified insert area-name from the insert area to the
normal storage locations for tapes.
inventory
Starts a full inventory of the silo. USE WITH CAUTION! An inventory of this sort can take a
very long time! An inventory of a silo with 180 slots takes over 20 minutes.
view [ −t type ] volser
Displays the current status of volser, including the volser, type, attribute, and coordinate.
all[ocd] drive-name UP|DOWN clientname
The allocd command is used to allocate and deallocate drives for different clients. Before you
can use a tape drive, the drive must be allocd’ed UP for your system. If it is currently allocd’ed
UP for a different client, it must first be allocd’ed DOWN for that client before being allocd’ed
UP for your system. You cannot allocd DOWN a drive that has a tape in it. The tape must be
dismounted first.
l[ist]d
listd or ld shows the current state of all the tape drives defined in the silo. The information

presented will include the drive-name, the amu drive (the location in the silo), status (UP or
DOWN), type, client the drive is allocated to, and the volser of any loaded tape.
show −op | −ac client-name
Shows the operational or access parameters for the specified client-name. You must include
either −ac if you wish to see access parameters, or −op if you wish to see operational parameters
for the client-name. Access parameters include volser ranges and drive ranges that the clientname
is allowed to use. Operational parameters include whether the client-name has complete
access, dismount privileges along with the IP address entered for client-name.
list client-name
Lists any outstanding requests that have been made by client-name. If there are any, they are
shown, along with the request number and type.
can[cel] request-id
Allows you to cancel an outstanding request, assuming that you have the necessary privileges.
Use the request-id that was shown by the list command.
qversion
Shows the version of the DAS server that you are connected to and the version of the ACI
protocol you are using to talk to DAS.
qvolsrange beginvolser endvolser count [ clientname ]
qvolsrange is the way to obtain a list of the volsers that are available in the silo. beginvolser and
endvolser are volsers of the form "123456". To use the first available or the last available, you
can use "". count specifies the maximum number of volsers you wish to see.





No comments:

Post a Comment