RHEL3EMC

See HERE and HERE for details. Using info from these links here's a script to try all things mentioned. Note: check the /proc/scsi/*/* paths and modify the echo commands accordingly.
 * 1) !/bin/sh

echo "scsi-qlascan" > /proc/scsi/qla2300/1 echo "scsi-qlascan" > /proc/scsi/qla2300/2


 * 1) Scan is "H C I L" (Host Channel ID LUN)

for H in 1 2 do for C in 0 do   for I in 1 2 3 4 do     for L in 0 1 do       echo "scsi add-single-device $H $C $I $L" > /proc/scsi/scsi done done done done

/etc/opt/emcpower/powercf -q /sbin/powermt config /sbin/powermt display dev=all To get the "H C I L" values, do cat /proc/scsi/scsi and grep for DGC and Host to get a smaller list. Modify the FOR lines of the script accordingly - the values above are based on the output below. Host: scsi0 Channel: 00 Id: 00 Lun: 00 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi1 Channel: 00 Id: 02 Lun: 00 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi1 Channel: 00 Id: 03 Lun: 00 Vendor: DGC     Model: RAID 10          Rev: 0324 Host: scsi1 Channel: 00 Id: 04 Lun: 00 Vendor: DGC     Model: RAID 10          Rev: 0324 Host: scsi1 Channel: 00 Id: 05 Lun: 00 Host: scsi1 Channel: 00 Id: 06 Lun: 00 Host: scsi1 Channel: 00 Id: 06 Lun: 01 Host: scsi1 Channel: 00 Id: 03 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0324 Host: scsi1 Channel: 00 Id: 04 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0324 Host: scsi1 Channel: 00 Id: 01 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi1 Channel: 00 Id: 02 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Host: scsi2 Channel: 00 Id: 01 Lun: 00 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi2 Channel: 00 Id: 02 Lun: 00 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi2 Channel: 00 Id: 03 Lun: 00 Vendor: DGC     Model: RAID 10          Rev: 0324 Host: scsi2 Channel: 00 Id: 04 Lun: 00 Vendor: DGC     Model: RAID 10          Rev: 0324 Host: scsi2 Channel: 00 Id: 05 Lun: 00 Host: scsi2 Channel: 00 Id: 06 Lun: 00 Host: scsi2 Channel: 00 Id: 03 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0324 Host: scsi2 Channel: 00 Id: 04 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0324 Host: scsi2 Channel: 00 Id: 01 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0224 Host: scsi2 Channel: 00 Id: 02 Lun: 01 Vendor: DGC     Model: RAID 5           Rev: 0224
 * 1) cat /proc/scsi/scsi | egrep '(DGC|Host)'