find new lun on scsi bus without rebooting? (ccl for hsz80)

From: Broun, Bevan (brounb@adi-limited.com)
Date: Thu Jan 30 2003 - 23:08:24 EST


Im on an AS4100 running 5.1a Im trying to use hsxterm5 to send commands to
the controller. Ive have just enabled the Command Console Lun on a hsz80
and now when I use hsxterm5 I get

root>./hsxterm5 -b2 -t0 -l5 "show this_controller"

        ScsiExecCli Failed

I suspect that a reboot would mean the OS would start seeing the lun. I
would prefer not to need to schedule a reboot, the system is in use. Can I
use scu to show the new lun to the OS and get this workign without a
reboot?

More info below.
BB

HSZ> show this_controller
Controller:
        HSZ80 ZG93301384 Software V83Z-0, Hardware E04
        NODE_ID = 0000-0000-0000-0000
        ALLOCATION_CLASS = 0
        SCSI_VERSION = SCSI-2
        Not configured for dual-redundancy
        Device Port SCSI address 7
        Time: 31-JAN-2003 14:30:17
Host PORT_1:
        SCSI target(s) (0, 1, 2, 3)
        No preferred targets
        TRANSFER_RATE_REQUESTED = 20MHZ
        Host Functionality Mode = A
        Command Console LUN is target 0, lun 5
Host PORT_2:
        SCSI target(s) (4)
        No preferred targets
        TRANSFER_RATE_REQUESTED = 20MHZ
        Host Functionality Mode = A

>From the sys_check output I see that the hsz80 is on scsi bus 2:
CAM Equipment Device Table (EDT) Information:

    Device: RRD47 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct
Access
    Device: HSZ80 Bus: 2, Target: 0, Lun: 0, Type: Direct Access
    Device: HSZ80 Bus: 2, Target: 0, Lun: 1, Type: Direct Access
    Device: HSZ80 Bus: 2, Target: 0, Lun: 2, Type: Direct Access
    Device: HSZ80 Bus: 2, Target: 0, Lun: 3, Type: Direct Access
    Device: HSZ80 Bus: 2, Target: 0, Lun: 4, Type: Direct Access



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:06 EDT