Technical article 110216

My Hewlett Packard DAT autoloader does not work with OpenServer 5.0.5.

OpenServer 5.0.5

Written · Last revised

Problem

I have installed a Hewlett Packard DAT autoloader connected to an Adaptec SCSI host adapter using 'mkdev tape' and 'mkdev juke'. The configuration seems correct, but the device does not respond to the juke(HW) command.

Solution

The normal way to configure 'juke box' devices is with the same SCSI target ID as the tape drive, but with LUN = 1 instead of 0. By default, the Adaptec SCSI host adapter driver "alad" does not support LUNs (logical unit numbers) other than zero. It is necessary to edit the alad space.c file, relink the kernel, and reboot.

The instructions below assume that you are using the vi editor, but other text editors may be used.

As the root user:
# cd /etc/conf/pack.d/alad
# vi space.c
Find the line:
int alad_scan_lun = 0;
and change it to:
int alad_scan_lun = 1;
Save the file:
# cd /etc/conf/cf.d
# link_unix -y
When the relink is complete, reboot the system.  Test the media
changer with commands such as:
# juke elem
# juke move st0 dt0

See also

man pages juke(HW), jukebox(HW)

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