IBM TS2340 User Guide - Page 405
inquiry [ log mode print, qrypath, qryversion, release, reqsense, reserve
![]() |
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 405 highlights
Linux - Tape Utility Program (IBMtapeutil) inquiry [Page]: This subcommand issues the SCSI Inquiry command to the device for either standard inquiry data, when no page parameter is specified, or for a specific inquiry page. The page parameter must be specified as a hexidecimal value. For example: # Get standard inquiry data IBMtapeutil -f /dev/IBMtape0 inquiry # Get inquiry page x'83' IBMtapeutil -f /dev/IBMtape0 inquiry 83 logpage ″Page″: This subcommand issues the SCSI Log Sense Page command to the device for the specified page and displays the log sense data. The page parameter must be specified as a hexidecimal value. For example: # Get log page x'31' IBMtapeutil -f /dev/IBMtape0 logpage 31 modepage ″Page″: This subcommand issues the SCSI Mode Sense Page command to the device for the specified page and displays the mode sense data. The page parameter must be specified as a hexidecimal value. For example: # Get mode page x'1D' IBMtapeutil -f /dev/IBMtape0 modepage 1d path: This subcommand shows all the available paths to a medium changer. This subcommand is only available in IBMtapeutil version 1.2.0 or higher, and the lin_tape device driver, version 1.4.1 or higher, on libraries that have the Control Path Failover feature enabled. print ″Text″: This subcommand prints the associated text to standard output. It can be used at any time to display the progress of the subcommands. For example: # Rewind, erase current tape and backup myfile.tar IBMtapeutil -f /dev/IBMtape0 rewind \ erase \ print "Writing myfile.tar" \ write -s myfile.tar qrypath: This subcommand shows the primary path and the first alternate path for a medium changer. This subcommand is only available in IBMtapeutil version 1.2.0 or higher, and the lin_tape device driver, version 1.4.1 or higher, on libraries that have the Control Path Failover feature enabled. qryversion: This subcommand issues the QUERY_DRIVER_VERSION ioctl command. It prints out the current version of the lin_tape driver. release: This subcommand explicitly releases a device and makes it available for other hosts by issuing the SCSI Release command. reqsense: This subcommand issues the SCSI Request Sense command and prints out the sense data. reserve: This subcommand explicitly reserves a device by issuing the SCSI Reserve command. tur: This subcommand issues the SCSI Test Unit Ready command to the device. Tape Subcommands The following tape subcommands are available for the tape devices. Appendix D. Tape Utility Programs 387
![](/manual_guide/products/ibm-ts2340-user-guide-433d6f5/405.png)