Problem
I need to add a Quantum DLT Tape Drive to a Dell PowerEdge server.
What is the procedure to add the tape drive to OpenServer?
Solution
- mkdev tapeThis TA assumes that there will only be one tape drive in the server.
1. Configure SCSI/IDE Tape Drive and select the "View Current SCSI and
Enhanced IDE Tape Drive configuration" option. For some versions of
the operating system there may be a default tape device there that
doesn't actually exist on the server. If not, then go to step 4.2. Remove a SCSI/IDE Tape DriveFor v.5.0.0b and v.5.0.2c only!Remove Unit 0 "Generic SCSI-1/SCSI-2 tape drive" if no cartridge tape is present on ID 2.
For v.5.0.5m (on a Dell 4200 and 4300), Tape Device 0 will default
to a Compaq CPQS Tape Drive. If the Quantum drive is the only tape
drive on the server then the Compaq CPQS entry will need to be
removed.3. Enter "q" to leave boot string unchanged.
4. Install a SCSI Tape Drive as:
(NB. The values shown here are examples only)
eg
Driver prefix for the SCSI host adapter: arad/alad
Host Adapter no.:
eg: for Dell 4200 (with DAT) 1
eg: for Dell 4300 (with DLT) 0
Bus no.: 0
SCSI ID: 6
LUN: 0Please note that the driver prefix will need to be established along
with the additional information above. This can be achieved best by
rebooting the server and seeing what SCSI Controller the tape is
attached to when the SCSI Controller's BIOS advertises the devices
attached. It may be necessary to check "hwconfig -hc" to ensure
that the SCSI Controller driver has been loaded. These are
available from http://www.sco.com/support/download.html5. You will next see the prompt:
Enter Vendor ID (or press <Enter> for the default value)
Check what is reported by the SCSI BIOS on ID where the tape is. This can be done with the "hw" command.
eg: For DLT Drives enter "Quantum"6. You will next see the prompt:
Enter SCSI Version (Return for default) For DLT Drives enter "2"
7. You will next see the prompt:
Enter Response Data Format (Return for default) For DLT Drives enter "2"
8. Enter option 4. - DAT drive (Compressing and non-Compressing)
9. Enter "q" to leave boot string unchanged.
- Quit from "mkdev tape" and you will be prompted to re-link the kernel; answer yes to re-build the kernel environment also. Re-boot server into Single-user Mode.
- Test the tape drive before proceeding:
tape status
tape xstatus - removed in tape v4.3 - v5.0.7
tape reset
tape getdensity - removed in tape v4.3 - v5.0.7- Create a relative tape backup of the /etc directory as a test.
cd /; find etc -follow -print | cpio -ovcBL -O /dev/rStp0- Test by restoring under "/tmp". Remove /tmp/etc when satisfied.
cd /tmp; cpio -idcvmBu -I /dev/rStp0NOTE: Check with the manufacturer of the tape drive for any new firmware
revisions or for any dip switch configurations, depending on the tape
drive. It should be considered to check with the manufacturer of the
SCSI Controller should any configuration changes need to be made there
in the controller BIOS.NOTE: If you see tape medium errors such as the one below then it is likely
that the tape's capacity has filled up.Device:/dev/rStp0:change to part 2 and press return. Sort:fatal:record too large