Hp-data values – HP LTO 4 SAS User Manual

Page 36

Advertising
background image

Sun (Solaris 8, 9, 10) servers and workstations

34

4.

You should now be able to use the drive.
• Use /dev/rmt/Xcb if you require a compression rewind device file, where X is the

relevant device address.

• Use /dev/rmt/Xcbn 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.

Chapter 8 on page 37

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 on Solaris 8/9/10 is:

<drive type> = <version> , <type>, <bsize>, <options >,

<no. of densi ties>, <d ensity 0> , <densit y 1>,
<dens ity 2>,< density 3 >, <defau lt densit y>,
<non- motion t imeout>, <read/wri te timeou t>,
<rewi nd timeo ut>, <spa ce timeou t>, <load timeout> ,
<unlo ad timeo ut>, <era se timeou t>

where:

Parameter

Value

Meaning

<version>

1

or 2

Indicates the format of the following parameters.

<type>

0x36

or

0x3B

The value for an LTO 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.

Advertising
This manual is related to the following products: