Technical article 100104

Getting ARCserve to recognize a tape drive on a system.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

SCO ARCserve/Open from Cheyenne does not recognize my SCSI tape drive on a Compaq system.

Cause

The Compaq SCSI controller needs all the devices to be either on the internal SCSI chain or the external SCSI chain for ARCserve to successfully recognize the tape device.

By default ARCserve will only search for the tape device that is on the SCSI host adapter that the boot hard drive is on.

Solution

The latest Compaq Extended Feature Supplement should be installed
for hardware support.  Using Compaq EFS 5.10 or earlier can result
in a "data underrun" notice.  (For information on this error, refer
to "SEE ALSO" section below).

The latest Compaq EFS available from SCO can be found at:

ftp.sco.com/EFS

Alternatively, the lastest Compaq EFS released by Compaq can be found at:

ftp.compaq.com/pub/softpaq/allfiles.txt

(Since Compaq might change filenames for a later EFS, the allfiles.txt file can be searched for the lastest supplement's filename.)

Arrange SCSI devices to either be all internal or all external.

If the system has multiple SCSI adapters and the tape is on the secondary SCSI adapter, you must modify:

/etc/conf/pack.d/chey/space.c

NOTE: This file only exists on a OpenServer system and is not on a UnixWare system.

Below are the instructions from the space.c file for two possible scenarios: two or more similar host adapters are being used, or two or more different types of host adapters are being used.

Case 1: Two or more similar host adapters are being used.

When you have tape drives connected to two or more similar
host adapters, you must make changes to the corresponding device
configuration information in the following scsi_dev_cfg structure.
The fourth field for every SCSI ID represents the host adapter
number.  Change this number to 0x1 or 0x2 depending on whether the
tape drive is connected to the second or third host adapter. For
example, if you have two Adaptec 154x, the first adapter will have
a host adapter number '0x0', and the second host adapter will have
the number '0x1'.

NOTE: It is important that the SCSI IDs be unique for all the tape drives across all the host adapters.

Case 2: Two or more different host adapters are being used.

When you have different types of host adapters, you must first
configure the host adapter into the system.  Then verify how
many host adapters you have installed on the system by typing
'hwconfig' on a root shell.  Once you know that you have installed
the host adapter, you need to get the host adapter driver prefix,
which is the 'type=' field in the 'hwconfig' output. You must then
get the entry point name for the given driver.

Once the type is known, the space.c file can be modified for the appropriate SCSI ID value.

Example:  The Adaptec 2940 uses a type=alad. If the SCSI tape
drive is on SCSI ID 4, the "Host adapter entry point" line
would be modified to read:
alad_entry,        /* Host adapter entry point */

Of course, the type= may be different on your system and the type would be modified; the _entry should follow whatever type is entered:

<type>_entry,
Once the "Host adapter entry point" has been modified, you will
need to add an "extern int" entry to the space.c file.  There
should already be a "extern int" line above the /* SCSI ID 0 */
information.  For example:
extern int aha_entry();

In addition to the above example, the following line would need to be added for an Adaptec 2940:

extern int alad_entry();
After making the above changes you will need to relink the kernel then
shutdown and restart the system.

To relink the kernel type the following:

# cd /etc/conf/cf.d  <enter>
# ./link_unix -y
NOTES:    Compaq recommends that all SCSI devices on a particular controller
          be on the internal or external SCSI chain.

To see if ARCserve is recognizing a tape unit type in the following:

# astatus

If the tape drive is being recognized the output from astatus will be similar to the following:

tapesvr ### ###

If "tapesvr" is not followed by any numbers then the tape drive is not being recognized by ARCserve.

If the tape drive is not recognized the information in the this article should assist in getting the tape unit recognized.

See also

TA105353, ""NOTICE: Data underrun" message appears when I use a Compaq 32-bit Fast SCSI-2 host adapter."

TA100114, "ARCserve/Open can't contact the tape devices on the system."

TA100077, "I cannot access the tape device on a second Host adapter; tapesvr not starting."

TA100094, "ARCserve on UnixWare with more than one controller can't find tape device."

From the Xinuos technical article database, record 100104. Reproduced with permission. The original is at www.sco.com/ta/100104, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

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.