Hp-data values – HP Ultrium tape drives Q1538-90925 User Manual
Page 25

HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide
25
HP restricted
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 on Solaris 9 is:
<drive
typ e>
=
<ve rsion>,
<type >,
< bsize>,
<opti ons>, <n o.
o f
de nsities>,
<dens ity 0>, <densit y 1>, < density 2>, <de nsity 3> , <defau lt densi ty>,
<non- motion t imeout>, <read/wri te timeou t>, <rewi nd timeou t>,
<spac e time out>, <load t imeout>, <unloa d time out>, <erase timeout>
where:
Parameter
Value
Meaning
<version>
1
or 2
Indicates the format of the following parameters.
<type>
0x36
or
0x3B
The value for an Ultrium drive in /usr/include/sys/mtio.h. For
Solaris 8, 0x36 indicates a type of MT_ISOTHER. Later versions of
Solaris support the value 0x3B which indicates a type of MT_LTO.
<bsize>
0
Indicates variable block size.
<options> 0xd639
or
0x18659
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:
0x001
Device supports variable length records.
0x008
Device can backspace over files (as in the ‘mt bsf’ option).
0x010
Device supports backspace record (as in ‘mt bsr’).
0x020
Device requires a long time-out period for erase functions.
0x040
Device will automatically determine the tape density.
0x0200
Device knows when end of data has been reached.
0x0400
Device driver is unloadable.
0x1000
Time-outs five times longer than normal.
0x4000
Driver buffers write requests and pre-acknowledges success
to application.
0x8000
Variable record size not limited to 64 KB.
0x10000
Device determines which of the two mode pages the device
supports for selecting or deselecting compression.
So 0xd639 indicates variable record length, bsf and bsr enabled,
long timeouts for erase, EOD recognition, Unloadable device driver, 5
x longer timeouts, buffer writes and pre-acknowledge sucess, variable
records not limited to 64 KB, auto-density over-ride and
MODE SELECT
compression.