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/ARCserve3. 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_LOCKINGAfter editing the line looks like this:
NO_DEVICE_LOCKING4. 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.