![HP LTO-4 Ultrium 1760 Technical Reference Manual Download Page 26](http://html.mh-extra.com/html/hp/lto-4-ultrium-1760/lto-4-ultrium-1760_technical-reference-manual_165507026.webp)
Linux (kernel 2.6.x) servers and workstations
24
NOTE:
To add drivers to the statically built kernel you need the Linux source code available on disk
and knowledge of how to use the kernel building tools that ship with various Linux distributions. This
should not be attempted by novice users.
In order to determine if the drive has been detected by the tape driver at module load time, execute:
dmesg | grep "s t"
This should find a number of lines. One should look like:
Detecte d SCSI t ape st0 a t scsi1, channel 0 , id 5, l un 0
To load the tape driver module if it is not loaded as above, execute:
insmod st
to load it. This should happen naturally if your system is rebooted after attaching the drive.
When the
ST
driver module has been added, a list of tape device files will be created
automatically. They reside in the
/dev/
directory and have the syntax:
/dev/st p
or
dev/ nstp
where:
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 (EOD) 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 mo dules
make mo dules_in stall
from the
/usr/src/linux
directory. See your kernel documentation.
Using the seek and tell features of mt
To use the seek and tell features of
mt
, you must tell the
st
driver that HP LTO Ultrium drives use
logical block addressing:
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 4-SCSI
”.
p
Instance number of the device file
(0 if only one drive is connected to the system)
n
Indicates this is a no-rewind driver
Summary of Contents for LTO-4 Ultrium 1760
Page 10: ...Introduction 8 ...
Page 20: ...HP HP UX servers and workstations 18 ...
Page 22: ...HP OpenVMS servers and workstations 20 ...
Page 24: ...HP Tru64 5 1x servers and workstations 22 ...
Page 28: ...Linux kernel 2 6 x servers and workstations 26 ...
Page 38: ...Sun Solaris 8 9 10 servers and workstations 36 ...
Page 42: ...Verifying the installation 40 ...
Page 46: ...44 V verifying installation 37 W wide data transfer 41 ...