[HP SURESTORE DAT USER'S GUIDE]
[HOME][SEARCH][HELP]

UNIX Configuration Guide:
DEC Systems

Configuration Switch Settings

Autoloader Switch Settings

Configuring for DEC OSF/1 v3.x

Configuring for Digital UNIX 4.x

Glossary


 Configuration Switch Settings

The configuration switches for an HP SureStore DAT drive installed on a DEC system running OSF/1 or Digital UNIX should generally be set as follows:

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 DAT24x6 :
Autoloader Option Switch Settings

The HP SureStore DAT24x6e autoloader has 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.

For a more detailed explanation, please see Autoloader Option Switch.


Configuring for DEC OSF/1 v3.x

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,

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,
 

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 tzX

where X is 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

    r

    Rewind

    nr

    No rewind

    h or m

    Compression enabled

    l or a

    Compression disabled

    Y

    Instance number assigned to the drive by the operating system (0 is the first, 1 is the second, and so on)

Configuring for Digital UNIX 4.x

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:

  • Tape 5000 is "HP35480A"
  • DAT8 is "C1533A"
  • DAT24 is "C1537A"
  • DAT24x6 is "C1557A"

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

n

No rewind

X

Instance number assigned to the drive by the operating system (0 is the first, 1 is the second, and so on)

h

Compression on (high density)

l

Compression off (low density)

For example, /dev/rmt/nrmt0h is a device file for the first device, which is a high-density, no-rewind device.

 
[HP SURESTORE DAT USER'S GUIDE][HOME][SEARCH][HELP][BACK TO TOP]