Technical article 100073

Tape drives are busy and unusable after installing ARCServe/Open.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

After installing SCO ARCServe/Open Release 2.1.0, none of the
tape devices work.  Using either 'tar', 'cpio' or 'dd', the tape
device is always busy.  The error message is similar to this:
/dev/rStp0          Device busy

Solution

When SCO ARCServe/Open starts at boot time, the SCSI bus is polled
for configured tape devices.  When the tape is found, the device is
opened by ARCServe; therefore the device is busy to any other
process that attempts to access the tape.

This busy condition is true for any process that accesses the tape including tar(C), cpio(C), dd(C) or any other tape utility.

The reason for this is so that when a backup is run using SCO
ARCServe/Open, the device will be online and ready.  This is
important since backups can be performed over the network or as
background processes and there is no way to check the status of
the device before the job starts.
However, other users or processes that may require use of the tape
device will not be able to access the tape while ARCServe/Open is
running.  This default condition can be changed so that the tape
devices are not opened by ARCServe/Open until the actual backup
starts.  To do this, take these steps:

1. Log into the system as root.

2. Change directories to the ARCserve directory:

# cd /usr/lib/ARCserve
3. Edit the tapesvr.cfg file with vi(C) or another editor.  Find
the line that contains the entry "NO_DEVICE_LOCKING" and remove
the ";" at the beginning of the line.

Before editing the line looks like this:

; NO_DEVICE_LOCKING

After editing the line looks like this:

NO_DEVICE_LOCKING

4. Save the file and exit back to the command line.

5. Stop and start ARCServe/Open by shutting down the system and rebooting or using the following commands:

# astop  (This will stop ARCServe/Open.)
# astart  (This will restart ARCServe/Open.)
Note that concurrent access in this manner may result in
unpredictable behavior.  Therefore it is necessary for the System
Administrator, or the user creating a backup with ARCServe/Open,
to ensure that no other user or process uses the tape unit until
the backup is complete.

See also

Information about this and other modifications to the default
configuration of ARCServe/Open can be found in the SCO Server
Enhancement Products Release and Installation Notes.  See the
section on ARCServe/Open from Cheyenne, beginning with Chapter 2,
page 19.

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