Technical article 110739

How do I add a Tape Drive to OpenServer5?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

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 tape

This 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 Drive
For 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:                                            0
Please 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.html

5. 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/rStp0
NOTE:  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

From the Xinuos technical article database, record 110739. Reproduced with permission. The original is at www.sco.com/ta/110739, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.