HP C7401A HP Ultrium Drives Technical Reference Manual V5.0 UNIX Configuration - Page 23
Using the Seek and Tell Features of mt, What Next
![]() |
UPC - 088698399118
View all HP C7401A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 23 highlights
Linux In order to enable large transfers under Linux (>64 KB per write), edit the file /usr/src/linux/drivers/scsi/st_options.h and change the definition of ST_BUFFER_BLOCKS. If you want requests to space to end of data to be faster, you should also enable ST_FAST_MTEOM in the same file. After changing this file, rebuild the modules and install the new binary. At the very least, this requires: make modules make modules_install from the /usr/src/linux directory. See your kernel documentation. Using the Seek and Tell Features of mt In order to use the seek and tell features of mt, you must tell the st driver that HP Ultrium drives use logical block addressing. You can do this by using the command: mt -f stsetoptions scsi2logical where /dev/stp is the device file. Note however that this information is not preserved across reboots, so you need to execute this command each time the system comes up. The stinit utility offers a convenient way of handling this; see the relevant man page for more information. If you use this approach, set the manufacturer parameter to HP and the model to "Ultrium 1-SCSI". What Next? Once the device files have been created, you should confirm that your new tape drive is working properly. Chapter 6, "Verifying the Installation" provides instructions on backing up and restoring a sample file to test your installation. Linux 23
![](/manual_guide/products/hewlettpackard-c7401a-hp-ultrium-drives-technical-reference-manual-v50-unix-configuration-guide-2003-5881cf4/23.png)