![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
UNIX Configuration
Guide:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|
On |
On |
Off |
On |
On |
On |
On |
Off |
Setting switch 8 to OFF, as shown above, will allow you to boot from tape if necessary. (The standard INQUIRY data length is truncated by 3 bytes.) This allows the tape drive to plug-and-play on DEC systems. No other changes are required for normal operation.
Changing switch 3 to ON will disable the Media Recognition System, but this is not recommended.
The tape drive can be configured to operate in immediate mode and with infinite flush by setting switches 6 and 8 to OFF. This improves the drive's performance by reducing the time it takes to write filemarks and data because all commands will be treated as immediate. The drawback is that if power fails during a write operation, any data in the buffer will be lost.
HP SureStore DAT external autoloaders have an additional selector switch on the rear panel. This switch sets different configurations for the autoloader mechanism and are read by the firmware at power-on. For a DEC system, this switch should be set to 7 (the default value), which sets the internal switches as follows:
| Option Switch Value |
Internal Switch Settings | |||
|---|---|---|---|---|
1 |
2 |
3 |
4 |
|
7 |
On |
On |
On |
Off |
Note: Set the value with the autoloader switched off.
The HP SureStore DAT24 internal autoloaders also have an option selector on the rear panel. These are four on-off switches that allow you to set the value, as above. Instructions for setting these switches are provided in the Installation Guide. You should not need to change them after installation.
For a more detailed explanation, please see Autoloader Option Switch.
Use steps 1 and 2 only if the tape drive is not already defined. To allow the host to enable and disable compression, follow the procedure in step 3 below.
1 If the tape drive is not already defined in
the file /usr/sys/data/cam_data.c, make the
following addition to the cam_devdesc_tab
structure, using the appropriate descriptions for your
drive model, as shown below:
/*HP SureStore Tape 5000 DDS-1 Drive*/
{"HP HP35480A" , 16, DEV_TZRDAT,
(ALL_DTYPE_SEQUENTIAL << DTYPE_SHFT) | SZ_RDAT_CLASS,
(struct pt_info *)ccmn_null_sizes, SZ_NO_BLK, (DEC_MAX_REC-1),
&tlz06_dens, NO_MODE_TAB, SZ_NO_FLAGS,
NO_OPT_CMDS, SZ_READY_DEF,
SZ_NO_QUE, DD_REQSNS_VAL| DD_INQ_VAL,
43,64
},
For an HP SureStore DAT8, replace the first two
lines with the following (The string in line 2 is 14
characters long.):
/*HP SureStore Tape DAT8 DDS-2 Drive*/
{"HP C1533A" , 14, DEV_TZRDAT,
(ALL_DTYPE_SEQUENTIAL << DTYPE_SHFT) | SZ_RDAT_CLASS,
(struct pt_info *)ccmn_null_sizes, SZ_NO_BLK, (DEC_MAX_REC-1),
&tlz06_dens, NO_MODE_TAB, SZ_NO_FLAGS,
NO_OPT_CMDS, SZ_READY_DEF,
SZ_NO_QUE, DD_REQSNS_VAL| DD_INQ_VAL,
43,64
},
For an HP SureStore DAT24, replace the first two
lines with the following (The string in line 2 is 14
characters long.):
/*HP SureStore Tape DAT24 DDS-3 Drive*/
{"HP C1537A" , 14, DEV_TZRDAT,
For an HP SureStore DAT24x6, replace the first
three lines with the following (The string in line 2
is 14 characters long.):
/*HP SureStore Tape DAT24x6 DDS-3 Autoloader*/
{"HP C1557A" , 14, DEV_TZRDAT,
(ALL_DTYPE_SEQUENTIAL << DTYPE_SHFT) | SZ_RDAT_CLASS | SZ_LOADER,
For an HP SureStore DAT40,
replace the first two lines with the following (The
string in line 2 is 14 characters long.):
/*HP SureStore Tape DAT40 DDS-4 Drive*/
{"HP C5683A" , 14, DEV_TZRDAT,
For an HP SureStore DAT40x6, replace the first
three lines with the following (The string in line 2
is 14 characters long.):
/*HP SureStore Tape DAT40x6 DDS-4 Autoloader*/
{"HP C5713" , 14, DEV_TZRDAT,
(ALL_DTYPE_SEQUENTIAL << DTYPE_SHFT) | SZ_RDAT_CLASS | SZ_LOADER,
2 If you made the additions in step 1,
rebuild the kernel using the doconfig script
as described in your system manual, then reboot the
system.
3 Create the special device files required:
% cd /dev/rmt % /dev/MAKEDEV tzXwhere
Xis the SCSI ID of the tape drive.The following files will be created:
/dev/rmt/rmtYh rewind with
compression enabled /dev/rmt/rmtYm rewind with
compression enabled /dev/rmt/rmtYl rewind compression
disabled /dev/rmt/rmtYa rewind compression
disabled /dev/rmt/nrmtYh no rewind with
compression enabled /dev/rmt/nrmtYm no rewind
compression enabled /dev/rmt/nrmtY1 no rewind
compression disabled /dev/rmt/nrmtYa no rewind
compression disabled Where:
Code |
Meaning |
|
Rewind |
|
No rewind |
|
Compression enabled |
|
Compression disabled |
|
Instance number assigned to the drive by the operating system (0 is the first, 1 is the second, and so on) |
1 Add the following entry to your /dev/ddr.dbase file:
SCSIDEVICE Type = tape Name = "HP " "XXXXXX"
Where there are 6 blank spaces in the "HP " string and XXXXXX is the string that designates your tape drive model:
2 Set the following parameters in the file:
PARAMETERS:
MaxTransferSize = 0xffffff
ReadyTimeSeconds = 0x2d
InquiryLength = 0x2b
DENSITY:
DensityNumber = 0
OneFileMarkOnClose = yes
DensityCode = 0x00
Blocking = 0
CompressionCode = 0x0
Buffered = 0x1
DENSITY:
DensityNumber = 1
OneFileMarkOnClose = yes
DensityCode = 0x00
Blocking = 0
CompressionCode = 0x1
Buffered = 0x1
3 Rebuild the kernel by running /sbin/ddr_config, then reboot the system with the tape drive attached. The device files for the DAT drive will be generated in /dev/rmt when you reboot.
4 The names of the device files can be interpreted as follows:
[n]rmtX{h/l}
Where:
Code
Meaning
nNo rewind
XInstance number assigned to the drive by the operating system (0 is the first, 1 is the second, and so on)
hCompression on (high density)
lCompression off (low density)
For example, /dev/rmt/nrmt0h is a device file for the first device, which is a high-density, no-rewind device.