Technical article 127591

How can I configure a USB tape drive on OpenServer 5.0.7?

OpenServer 5.0.7

Written · Last revised

Problem

When trying to add a tape drive through `mkdev tape`,
there is no option to add a USB tape drive.  Is there
anyway that the USB tape drive can be configured?
HARDWARE: USB tape drives

Solution

The `mkdev tape` command does not have a USB option directly, but
the tape drive can be added as a SCSI tape drive by following the
steps below.
NOTE:     Be sure that you have Maintenance Pack 5, or higher, installed.
NOTE:     Disconnecting and re-connecting the USB devices can
          cause assignment of new USB ID information and cause the
          USB tape drive and other USB configurations to become
          invalid.  Therefor it is suggested that you try to have
          all USB devices connected in their permanent place before
          you configure any of them.  It is also suggested that the
          devices be connected prior to booting the system.

With the USB tape drive connected, boot to multi-user mode and login as root.

Find the USB ID assignments for the tape drive using:

sconf -v

You should see an Stp line that begins usb_msto which indicates how the USB tape drive was detected, it should look similar to:

Stp  usb_msto  0  1  2  0

The 4 numbers that follow are in the order of: adapter #, bus #, target id #, and lun #

With this information you can add the tape drive to the system using:

mkdev tape
Add the tape drive as a SCSI tape drive.  When prompted
for the prefix of the SCSI host adapter that supports the
device use 'usb_msto', and the adapter #, bus #, target id
#, and lun # shown by sconf.  Choose 'q' to quit the
questions about Vendor identification string and the boot
string.

Relink the kernel when prompted after quitting from the mkdev menu.

Reboot the system and test the tape drive.

ACKNOWLEDGMENTS:

The solution to this problem was contributed by: Steve Moritsugu from DTR Business Systems

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