![HP 330834-B21 - StorageWorks Ultrium 460 Tape Library Drive Module Скачать руководство пользователя страница 27](http://html.mh-extra.com/html/hp/330834-b21-storageworks-ultrium-460-tape-library-drive-module/330834-b21-storageworks-ultrium-460-tape-library-drive-module_technical-reference-manual_165375027.webp)
Linux 27
Linu
x
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 <device file> 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 2-SCSI
”.
What Next?
Once the device files have been created, you should confirm that your new
tape drive is working properly.
Chapter 7, “Verifying the Installation”
provides instructions on backing up and restoring a sample file to test your
installation.
Содержание 330834-B21 - StorageWorks Ultrium 460 Tape Library Drive Module
Страница 8: ...8 ...
Страница 24: ...24 IBM AIX ...
Страница 28: ...28 Linux ...
Страница 34: ...34 Sun Systems Solaris SunOS 5 x ...
Страница 38: ...38 Verifying the Installation ...