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.cFind 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 -yWhen 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)