Hi Lars,
On 17/8/06 2:05 AM, "Lars Hecking" <lqh AT CYPRESS DOT COM> wrote:
> rader AT GINSENG.HEP.WISC DOT EDU writes:
>> try
>>
>> options scsi_mod max_scsi_luns=255
>>
>> in /etc/modules.conf
>>
>> but iirc you also need a kernel with CONFIG_SCSI_MULTI_LUN set
>
> Did both and recompiled the kernel, but no change :-/
>
> This is certainly a RHEL problem - the SCSI card shows both devices on
> boot at LUN 0 and 1, resp.
>
Going back to your earlier posting showing the /proc/scsi/scsi output, and
assuming the library is on the same bus as the drive, consider running the
following:
for lun in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
echo scsi add-single-device 1 0 5 $lun > /proc/scsi/scsi
done
If the library is on the same controller/target/bus as the tape drive, but
just a different LUN, that should locate it for you.
Note that you'd need to do this each time you reboot. I've generally found
setting up an init script to be more reliable than the vagaries of kernel
rebuilds and then remembering to reapply changes on later builds...
Cheers,
Preston.
--
eBook coming soon, "Backup and Recovery: A corporate insurance policy"
http://enterprise.backup.googlepages.com
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|