Technical article 127166

How do I install and configure a SCSI Tape drive on my OpenServer 6.0.0 system?

OpenServer 6.0.0

Written · Last revised

Problem

I have an OpenServer 6.0.0 server installed and I would now like to attach a SCSI tape drive to the system. How can I do this?

Solution

To install and configure a SCSI tape drive on your OpenServer 6.0.0 system you will need to do the following:

1) If your server does not already have a SCSI card then you will need to install a SCSI card into the server and reboot the server. You can also connect the Tape drive to the SCSI Bus at this time if you wish, making sure that the SCSI Bus is terminated correctly.

Please note OpenServer 6 only loads drivers for the HBAs it detects in your server at install time.

2) If your server does not already have a HBA driver loaded for the SCSI card then you will need to install the HBA driver for the card. You can check to see if your kernel recognises your SCSI card using:

# sdiconfig -l

Some sample output of this command may look like:

0:0,7,0: HBA     : (c8xx,1)Symbios 1066-0 42400
  0,0,0: DISK    : SEAGATE ST318404LC      0002
1:0,2,0: HBA     : (ide,1) Generic IDE/ATAPI
  0,0,0: CDROM   : MITSUMI CD-ROM FX4830T!BR02N

If your kernel does not see your SCSI card then you will need to install a HBA driver for the card.

Please note SCO periodically posts updated versions of HBA drivers for SCO OpenServer 6.0.0 at:

http://www.sco.com/support/update/download/product.php?pfid=12&prid=20

If you find the driver you are looking for at the above URL then please follow the installation instructions included with the driver to install it onto your system.

If you don't find the HBA driver you are looking for on the URL above then you may find it on the SCO OpenServer 6.0.0 CD1 Media. For a list of HBA drivers available on your OpenServer 6.0.0 Media please see:

http://osr600doc.xinuos.com/en/GetStart/gsgC.HWconfig.html#gsgC.HWconfig.HBAsupp

To install a specific driver (e.g. the Adaptec adst70 HBA), place the OpenServer 6.0.0 CD1 media into the CD-ROM drive and run:

# pkgadd -d /dev/cd0 adst70

To select from a list of all the drivers available on the CD run the command:

# pkgadd -d /dev/cd0

and follow the prompts to select the HBA(s) you want to install.

3) Once you have installed the required HBA driver you must load the HBA driver into your running kernel.

You can do this using the modadmin(ADM) command as follows:

# modadmin -l adst70

Please note that OpenServer 6.0.0 autodetects and autoloads HBA drivers at boot time.

On each subsequent reboot your will NOT therefore have to manually load the driver as described above.

If the modadmin command is successful, then when you run

# sdiconfig -l

you should now see the HBA you have added. For example if we have loaded the adst70 we should see something similar to:

0:0,7,0: HBA     : (c8xx,1)Symbios 1066-0 42400
  0,0,0: DISK    : SEAGATE ST318404LC      0002
1:0,2,0: HBA     : (ide,1) Generic IDE/ATAPI
  0,0,0: CDROM   : MITSUMI CD-ROM FX4830T!BR02N
2:0,7,0: HBA     : (adst70,1) Adaptec Ultra160
You are now  ready to configure the Tape Drive.

4) If the Tape Drive is not already connected to the SCSI bus of your HBA then you will need to connect it. This can be done in two ways:

- You can power down your server, attach the Tape drive to your system and reboot.

or:

- You can use sdiadd(ADM) to "hot add" the tape drive to the SCSI bus. To do this your HBA must support hot add functionality.

To hot add a tape drive to a running server do the following:

As root run the command:
# sdiadd
You will see the message:

INFO: Successfully stopped SCSI bus. INFO: Hit return when device changes have been made.

Connect the Tape drive to the SCSI Bus of your HBA, power it on and press Enter/Carriage Return when the tape is powered up. You should now see a message similar to:

INFO: Successfully continued SCSI bus
INFO: Device added
INFO:   2:0,3,0:VOID         :HP      Ultrium 4-SCSI  W22D
If you now run the command:
# sdiconfig -l
You should see output similar to:
0:0,7,0: HBA     : (c8xx,1)Symbios 1066-0 42400
  0,0,0: DISK    : SEAGATE ST318404LC      0002
1:0,2,0: HBA     : (ide,1) Generic IDE/ATAPI
  0,0,0: CDROM   : MITSUMI CD-ROM FX4830T!BR02N
2:0,7,0: HBA     : (adst70,1) Adaptec Ultra160
  0,3,0: TAPE    : HP      Ultrium 4-SCSI  W22D

where in the example above we have added a HP Ultruim SCSI Tape on ID 3 of an Adaptec Ultra160 SCSI HBA.

You should also now find that the directory:

/dev/rmt/

has been populated with the device names for your tape drive. For more on device names see st01(HW).

For more on tape control commands see tape(C).

From the Xinuos technical article database, record 127166. Reproduced with permission. The original is at www.sco.com/ta/127166, 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.