Page 1
5: unix configuration guide HP C1537A & HP C1554A DDS-3 Drive (24 GB) HP C1557A & HP C5648A DDS-3 Autoloader (144 GB) HP C5683A DDS-4 Drive (40 GB) HP C5713A DDS-4 Autoloader (240 GB)
Page 2
Removal of DDS-1 and DDS-2 drives. Inclusion of DAT 72 drives. Manual restructured and reformatted. Edition 9 Draft 1 Jul 2003 Change of HP (Compaq) Tru64 to HP Alpha Note As far as this manual is The inclusion of a particular drive...
PRLIMIARY The Purpose of this Manual This is one of a six-volume set which documents HP DDS drives. This volume provides basic information on configuring the following drives with various operating systems: HP C1537A (HP C1554A) DDS-3 drive, capacity: 24 gigabytes...
Page 4
PRELIMINARY General Documents and Standardization Enhanced Small Computer System Interface (SCSI-2) X3T9.2-1993 Rev. 10L, available through ANSI DDS-3 — ECMA-236, 1st Edition DDS-4 — ECMA-288, 1st Edition Copies of General Documents can be obtained from: ANSI 11 West 42nd Street New York, NY 10036-8002 CP 56 CH-1211 Geneva 20...
(DAT 72 drives only) 11 Updating the Tape Driver 11 What Next? 12 3 3 3 3 HP Servers and Workstations — HP-UX 10.20 and 11.x 13 Determining the SCSI ID 13 To add to the kernel using sam: 14...
Page 6
MTCAN and Constants Values 30 7 7 7 7 Sun Workstations—Solaris 2 (SunOS 5.x) 33 Determining the SCSI ID 33 Driver Configuration 34 HP-Data Values 35 What Next? 36 8 8 8 8 Verifying the Installation 37 System-Specific Arguments 39...
Application Software Availability Most backup software companies provide applications for HP DDS products. Contact your software supplier for details. Alternatively, contact your HP supplier, who can provide you with details of a wide range of compatible software.
Configuring a Drive When the drive is powered on, it reads a set of configuration switches on the underside of the drive (see Chapter 9, “Introduction to Configuration Switches”). To change the configuration: Switch the drive off. Select the correct configuration for your system. See “Configuration Switches”...
Configuring an Autoloader Autoloaders only exist in DDS-3 and DDS-4 versions, not Note DAT 72. Figure 1 Internal autoloaders: option switches To configure an autoloader: “Autoloader Option Switch Settings” on page 51 for details Note of the settings you need for different systems. Switch the autoloader off.
Page 10
Set the autoloader configuration as follows: Internal built-in autoloaders: set the switches on the rear of the autoloader mechanism (see Figure External standalone autoloaders: the value of the option switch settings is the number on the right when looking at the rear of the autoloader. To change the number, click on the little buttons marked ‘−’...
HP Alpha UNIX 5.1x (DAT 72 drives only) Note Only DAT 72 drives are currently supported on HP Alpha. Updating the Tape Driver Modify the SCSI Tape Density Table to include: scsi_tape_density[0x47] = "163000_bpi" 163000 0 (DAT72) Add the following entry to your file: /dev/ddr.dbase...
Once the device files have been created, you should confirm that your new tape drive is working properly. Chapter 8, “Verifying the Installation” provides instructions on backing up and restoring a sample file to test your installation. HP Alpha UNIX 5.1x (DAT 72 drives only)
Determining the SCSI ID Before you configure your system to support your new HP drive, you need to determine what SCSI ID to use. The SCSI ID must be unique for each device attached to the SCSI bus. To list the existing devices, use the following...
The Pending State will now read “In”. To add the new driver to the kernel, select: Actions Create a New Kernel driver will now be added to the kernel and then the system will stape reboot. HP Servers and Workstations — HP-UX 10.20 and 11.x...
Create Device Files Create Default Device Files This will create default device files for the drive. To view the device files that have been created, select: Actions Create Device Files Show Device Files HP Servers and Workstations — HP-UX 10.20 and 11.x...
Specifies the tape drive’s hardware address via the instance of the SCSI tape -I <instance> driver. The first instance is 0, the second 1, and so on. Specifies no rewind; absence of this parameter indicates rewind mode [-n] HP Servers and Workstations — HP-UX 10.20 and 11.x...
Page 17
You can examine the contents of using the /dev/rmt command to determine which identifiers have already been used. Specifies the short name (in HP-UX 9.x-style) of the device file: <name> No rewind, compression disabled, Berkeley-mode device No rewind, compression disabled, Berkeley-mode device...
Once the device files have been created, you should confirm that your new tape drive is working properly. Chapter 8, “Verifying the Installation” provides instructions on backing up and restoring a sample file to test your installation. HP Servers and Workstations — HP-UX 10.20 and 11.x...
” as the Tape smit 4mm2gb Device Type. This is reserved for Connor drives. If you use it with HP drives, you will get the error “ Device to be configured does not match the physical device ”. at the specified connection location...
4mm2gb Change the block size field to 0, and click on the “ ” button or press [Enter] to apply the change. HP DDS-format drives will work with cpio backup restore For systems other than the 43P, the drive is also boot-capable, provided a...
Page 21
Filename Rewind on Close Retension on Open Compression disabled /dev/rmtn.5 disabled /dev/rmtn.6 disabled /dev/rmtn.7 in the filename is the instance number assigned to the drive by the operating system, where 0 is the first device, 1 is the second and so on. Normally, the drive repositions the tape to BOT (Beginning of Tape) when the Rewind on Close device file is closed.
This will produce output similar to the following for each device: Attached Devices Host: SCSI0 Channel: 00 Id:00 Lun:00 Vendor: HP Model ------------ Type: Direct-Access ANSI SCSI Revision 02 Look at the ID information to establish which IDs are in use.
Page 24
The lines of interest here are: This is the tape driver. Its presence in the output of the lsmod command shows that the tape driver is loaded. This is a SCSI chipset driver for the LSI Logic family of HBAs ncr53c8xx (amongst others).
In order to enable large transfers under Linux (>64 KB per write), edit the file and change the /usr/src/linux/drivers/scsi/st_options.h definition of ST_BUFFER_BLOCKS If you want requests to space to end of data to be faster, you should also enable in the same file. After changing this file, rebuild the ST_FAST_MTEOM modules and install the new binary.
DAT 72 drives do not support Silicon Graphics. This chapter only applies to DDS-3 and DDS-4 drives and autoloaders. SGI DMA hardware requires that DMA starts on a 32-bit aligned address. HP DDS drives only limit disconnects to a 16-bit alignment. To account for this, the switch setting disables the data phase disconnect.
Page 28
*performed, the drive retries a number of times, and then *rewinds to BOT, repositions, and tries again.*/ 40, 4*60, 20*60, 5*60, 512, 64*512, 0, (u_char*)0 }, For IRIX 6.4/6.5: { DATTAPE, TPDAT, 2, 6, "HP", "C1537A", 0, 0, {0}, MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART| MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR| MTCAN_SETSZ|MTCAN_SILI|MTCAN_AUDIO|MTCAN_SEEK|MTCAN_CHTYPEANY,...
Page 29
If this is the case: Locate the file /dev/MAKEDEV.d/TPS_base After the line starting , add the following new entry: *Device:*Python* *Device:*HP*C15*) # HP DDS with DC mdev=‘expr $mdev + 8‘; mknod ${prf}$1c c ${C_TPS} $node; Silicon Graphics (SGI)
Note that this only applies for HP C1537A and HP C1557A drives. For IRIX 6.2 only, the entry should end with: 0, (u_char *)0 }, What Next? Once the device files have been created, you should confirm that your new tape drive is working properly.
Page 31
MTCAN value Capability Enabled Variable block sizes The constants have the following functions: Constant Description Transfer time-out in “inverse ticks” Minimum time-out in seconds for any command 4*60 Space command time-out in seconds 4*60 Time-out in seconds for long operations (such as rewinds) 5*60 Default block size in bytes for fixed block size mode Recommended blocking factor in bytes for the upper limit of...
Sun Workstations—Solaris 2 (SunOS 5.x) Determining the SCSI ID Before you configure your system to support a DDS-format drives, you need to determine which SCSI ID to use. IDs must be unique for each device on attached to the SCSI bus. Use the command to identify SCSI controller drivers installed modinfo...
HP autoloaders with firmware revision 9503 or later only: To allow random access to tapes within the autoloader, you must add the “ ” lun=1 entry for each autoloader. You may also like to make the following addition to your standard...
Value Meaning A value is derived from constants provided in 0x639 /usr/include/sys/ . The value determines which operations the 0xd639 scsi/targets/stdef.h driver can perform with the attached device by using a unique value for each feature and then adding them together to form .
Verifying the Installation As part of the installation process, you will have installed the appropriate device driver for your UNIX system, and created device files to communicate with the tape drive. This section describes how you can verify that the installation has been performed correctly.
Page 38
<retrieved file> Example: stand/vmunix Example: Suppose you are verifying the installation of an HP DDS-format tape drive on an HP-UX 10.X system. The procedure would be as follows. See “System- Specific Arguments” below for the choice of <archive name> <file>...
System File Name Description Archive Name Notes HP Alpha OSF kernel is the instance of the drive vmunix /dev/tape/ in the density code tapeX.dn HP-UX 10.20...
Page 40
Determining the Archive Name for SUN Solaris 2 Determine the archive name by typing: % ls -l /dev/rmt/*m | grep "st@X" where is the SCSI ID. Identify the line for the tape drive. For example, if the drive was at SCSI ID 2, look for the line containing “ ”.
Media Recognition System (MRS). Switches 4–8 control other functionality. Switches 1–3 are described below. See Chapter 10 for a full list of settings for switches 3–8. The following table shows typical Configuration Switch settings: Default HP Alpha HP HP-UX IBM AIX Linux Introduction to Configuration Switches...
DC Characteristics Page of the SCSI command. MODE SELECT Media Recognition System (MRS)—Switch 3 or 8 The Media Recognition System is described in the Hardware Note Intergration Guide, Volume 1 of the HP DDS Technical Manual (see the Introduction). Introduction to Configuration Switches...
The Media Recognition System is active. This is the default. Non-MRS tapes are treated as if they are write-protected. Switch 8 is used with HP Alpha and SUN Solaris systems. Here switch 8 ON enables MRS, and OFF disables MRS.
Tables of Switch Settings Configuration Switch Settings The following table shows the possible settings for Switches 3–8. Functions: for details of the various functions, see “Special Function Definitions” on page In the Switches columns, “1” corresponds to “on” and “0” to “off”. Functions Switches 3 4 5 6 7 8...
Special Function Definitions In the following definitions, “7” corresponds to a blank in the table above. Asynchronous This feature is used on some HP-UX systems where the drivers “forget” if they are at a Sense filemark, and send (without a preceding...
Page 48
DC Control by This enables device-based control of data compression for SUN and Exabyte drivers, Density and also for Exabyte drives, which control data compression through the Density Code. In other words, depending on the device filename or device Minor Numbers, the driver sends a Density Code of 0 or 3 on device open.
Page 49
INQUIRY C1553 of the identity of the drive itself, or “C1553A” in the case of an autoloader. The drive’s product ID will correspond to its genuine HP model number, such as “C1537A” or “C1557A”. Inquiry 35480 The product ID field in the returned data will be “HP35480A”...
Page 50
No Data No disconnects in the data phase. A Save Data Pointers message may still be Disconnect sent. This option is useful for hosts which cannot disconnect on Odd Byte boundaries. Some SGI hosts cannot disconnect on Odd Word (32 bit) boundaries, so this option should be enabled for SGI connect.
SCSI recommends using Write Zero Filemarks to flush the data buffer to tape. Some HP drivers do this before closing, even if the tape is write-protected. Allows Write Zero Filemarks on a write-protected tape, and also when no tape is loaded.
Page 52
The Product ID sent in response to a SCSI command to LUN 0 will INQUIRY Inquiry be “C1537A” or “C5683A”, the DDS drive mechanism. The LUN 1 Product ID will always be “C1557A” or “C5713A”. Not Enabled: The Product ID sent in response to a SCSI...
glossary Glossary AT&T mode Berkeley and AT&T functional modes differ in “read-only” close functionality. In AT&T mode, a device close operation will cause the tape to be repositioned just after next filemark on the tape (the start of the next file). autoloader A device embodying a DDS-format tape drive and a cartridge changer mechanism, together with a magazine holding six cartridges, all housed in a...
Page 54
Together with the use of time-tracking, this gives a DDS-3 tape approximately three times the capacity of a DDS-2 tape. DDS-4 uses longer tapes (150m). HP’s DDS-4 drives, which are ultra-wide SCSI devices, allow transfer rates from 3 to 4 times greater than DDS-3 and capacities that are two-thirds as much again.
Page 55
in the buffer for very long periods of time, and could be lost in the event of a power failure. Logical Unit Number. A unique number by which a device is identified on the SCSI bus. A tape drive has a fixed LUN of 0. In an autoloader, the changer mechanism is LUN1.
Page 56
ANSI American National Standards Institute, which sets standards for, amongst other things, SCSI and the safety of electrical devices. Beginning Of Media. The first point on the tape that can be accessed by the drive. buffered mode A mode of data transfer in write operations that facilitates tape streaming. It is selected by setting the Buffered Mode Field to 1 or 2 in the SCSI MODE SELECT Parameter List header.
Page 57
Small Computer System Interface—a standard command specification and command set that enables computers and peripherals to communicate with each other. HP’s Ultrium drives adhere to the SCSI specifications (see Chapter 1, “Interface Implementation” in Volume 3, The SCSI Interface, of the HP Ultrium Technical Manual) and support all features required by those standard.
Page 58
SCSI bus as wide devices using a suitable adapter. HP’s Generation 1 Ultrium drives are Ultra2, wide SCSI-3 compatible devices. They can be used with both LVD and SE host bus adapters.
B B B B backup software HP-UX Berkeley mode IBM (AIX) blocks direct access disconnects documents, related 7, 8, 10, 41 buffer, switched drivers 53, 56...
Page 60
H H H H random stacker 47, 56 hard error Berkeley host buffered HP Alpha fixed block switch settings 49, 54 immediate HP workstations and servers variable block switch settings HP-data values for Sun Solaris controlling HP-UX systems enabling determining SCSI-ID index...
Page 61
V V V V S S S S Valid bit variable block mode 3, 55, 57 SCSI verifying installation SCSI ID, determining HP-UX IBM (AIX) wide data transfer Linux workstations Sun workstations SDCA IBM AIX sequential access Linux...