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

From: Broun, Bevan <brounb_at_adi-limited.com>
Date: Fri, 31 Jan 2003 15:08:24 +1100

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
Received on Fri Jan 31 2003 - 04:10:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT