CDI_OFFLINE(8)CDI_OFFLINE(8)NAMEcdi_offline - issue an offline SCSI command to a tape device
SYNOPSIScdi_offline-f device [ -v ] [ -t { s | t | g | n | m | i } ]
DESCRIPTION
The cdi_offline program issues an offline SCSI command to a tape
device. The cdi_offline program also returns the status of the named
SCSI device (specified by the -f option). This operation is synonymous
to issuing a load with no re-tension, and rewind to the beginning of
tape SCSI command.
OPERANDS-f device
Specifies the device to send the offline request to. The -f
option is a required option.
OPTIONS-t Use the -t option to specify the method of tape functions to use
to issue the offline SCSI command. 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 the complete list of access methods currently supported by
the cdi_offline 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_offline-f /dev/rmt/2cbn
CDI_OFFLINE successful.
elapsed time for command was 11 seconds
cdi_info.drivestat is:
status = 0, DRIVE_STATUS_READY
msg = null
SEE ALSOlibcdi(8)NetWorker 7.3.2 Aug 23, 06 CDI_OFFLINE(8)