IBM TS2340 User Guide - Page 158
which means that SCSI commands Write FM, Locate, Load-Unload, Erase, and, IBMtape.conf, ioctl
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 158 highlights
Solaris Device Driver (IBMtape) % /opt/IBMtape/tmd -s for IBMtape.4.0.9.2 and later % /usr/sbin/rem_drv IBMtape % /usr/sbin/add_drv -m '* 0666 bin bin' IBMtape % /opt/IBMtape/tmd for IBMtape.4.0.9.2 and later Default settings in IBMtape.conf can be overridden for a particular device (and only while the device is kept open) using the ioctl application programming interface (API) of the device driver. The parameter settings made through the API revert back to the default values in IBMtape.conf the next time the device is opened. Refer to the IBM TotalStorage and System Storage Tape Device Drivers: Programming Reference for more information about changing configuration parameters under program control. IBMtape.conf contains one stanza for each SCSI target address/LUN pair owned by IBMtape. The reference IBMtape.conf file supplied with the package contains a stanza for every possible SCSI target and LUN combination supported by IBM tape systems. The following example shows the stanza for target 0, LUN 0, with IBMtape's default configuration parameter values. The parameter immediate is disabled, which means that SCSI commands Write FM, Locate, Load-Unload, Erase, and Rewind complete before returning status: name="IBMtape" class="scsi" target=0 lun=0 block_size=0 buffering=1 immediate=0 trailer=0 sili=0; The following example shows the stanza for target 0, LUN 0, with IBMtape's default configuration parameter values and the rewind immediate mode set on, which causes the SCSI rewind command to return control to the application program before the command actually completes on the tape drive: name="IBMtape" class="scsi" target=0 lun=0 block_size=0 buffering=1 rew_immediate=1 trailer=0 sili=0; If immediate is set to 1 and rew_immediate is set to 0, the setting of rew_immediate is ignored. The name variable identifies IBMtape as the device driver, and class identifies the type of device supported as SCSI. The target and the lun variables determine the target address and LUN of IBM devices that are controlled by that stanza. On systems with multiple SCSI adapters, a single target/LUN stanza controls the configuration settings for all devices addressed with that target address and LUN. Thus, two or more supported IBM devices on the system that have the same target and LUN settings but are attached to different SCSI buses are all affected by the configuration parameters of the single stanza having that target address and LUN. After installation of the IBMtape package is complete, you may eliminate unnecessary probing for devices by commenting out unused target/LUN pairs. In 140 IBM Tape Device Drivers Installation and User's Guide