
3.
You should now be able to use the drive.
• Use
/dev/rmt/
K
cb
if you require a compression rewind device file, where
K
is the relevant
device file instance.
• Use
/dev/rmt/
K
cbn
when you require a compression non-rewind device.
Once the device files have been created, you should confirm that your new tape drive is working
properly. “
” on page 31 provides instructions on backing up and restoring
a sample file to test your installation.
HP-data values
The values for
HP_LTO_GEN_
n
and
name
, which provide normal LTO mode, have the following
meanings:
The syntax for
HP_LTO_GEN_
n
is:
<drive type> = <version>, <type>, <bsize>, <options>,
<no. of densities>,
<density 0>, <density 1>,
<density 2>,<density 3>, <default density>,
<non-motion timeout>, <read/write timeout>,
<rewind timeout>, <space timeout>,
<load timeout>,
<unload timeout>, <erase timeout>
where:
Meaning
Value
Parameter
Indicates the format of the following parameters.
1
or
2
<version>
The value for an LTO drive in
/usr/include/sys/mtio.h
. The value
0x3B
indicates a type of
MT_LTO
.
0x3B
<type>
Indicates variable block size.
0
<bsize>
This value is derived from constants provided in
/usr/include/sys/
scsi/targets/stdef.h
. The value determines which operations the
driver can perform with the attached device by using a unique value for
each feature and then adding them together to form the options value.
Supported features will vary with OS revision, and may include the
following:
0xd639
or
0x18659
<options>
Device supports variable length records.
0x001
Device can backspace over files (as in the ‘
mt bsf
’ option).
0x008
Device supports backspace record (as in ‘
mt bsr
’).
0x010
Device requires a long time-out period for erase functions.
0x020
Device will automatically determine the tape density.
0x040
Device knows when end of data has been reached.
0x0200
Device driver is unloadable.
0x0400
Time-outs five times longer than normal.
0x1000
Driver buffers write requests and pre-acknowledges success
to application.
0x4000
Sun (Solaris) servers and workstations
28