If you are working on a new T2000 with Qlogic HBAs, you may see an “insufficient condition” message when trying to use cfgadm to configure them for the first batch of provisioned SAN storage. If you do see this, you can use the following commands to fix is without a reboot:

The “before” cfgadm:

Ap_Id Type Receptacle Occupant Condition

c0 scsi-bus connected configured unknown

c0::dsk/c0t0d0 disk connected configured unknown

c1 scsi-bus connected configured unknown

c1::dsk/c1t0d0 CD-ROM connected configured unknown

c2 fc-fabric connected unconfigured unknown

c2::50060e80042cc540 unavailable connected unconfigured failed

c3 fc-fabric connected unconfigured unknown

c3::50060e80042cc550 unavailable connected unconfigured failed

usb0/1 unknown empty unconfigured ok

usb0/2 unknown empty unconfigured ok

usb1/1.1 unknown empty unconfigured ok

usb1/1.2 unknown empty unconfigured ok

usb1/1.3 unknown empty unconfigured ok

usb1/1.4 unknown empty unconfigured ok

usb1/2 unknown empty unconfigured ok

Look at your FC devices:

bash-3.00# ls -l /dev/fc

total 6

lrwxrwxrwx 1 root root 58 Apr 29 15:17 fp0 -> ../../devices/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl

lrwxrwxrwx 1 root root 58 Apr 29 15:17 fp1 -> ../../devices/pci@7c0/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl

lrwxrwxrwx 1 root root 60 Apr 29 15:17 fp2 -> ../../devices/pci@7c0/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl

Determine which ones are the HBAs by looking at the WWNs (the cc540 and cc550 are the XP12K, so these two are the HBAs):

bash-3.00# luxadm -e dump_map /dev/fc/fp0

Pos Port_ID Hard_Addr Port WWN Node WWN Type

0 ba000 0 50060e80042cc540 50060e80042cc540 0x1f (Unknown Type)

1 bcb00 0 2100001b3200ef93 2000001b3200ef93 0x1f (Unknown Type,Host Bus Adapter)

bash-3.00# luxadm -e dump_map /dev/fc/fp1

Pos Port_ID Hard_Addr Port WWN Node WWN Type

0 c2000 0 50060e80042cc550 50060e80042cc550 0x1f (Unknown Type)

1 ccb00 0 2100001b320290f3 2000001b320290f3 0x1f (Unknown Type,Host Bus Adapter)

bash-3.00# luxadm -e forcelip /dev/fc/fp0

Jul 11 06:59:52 fdssa125 scsi: WARNING: /scsi_vhci/ssd@g60060e80042cc50000002cc5000001c0 (ssd0):

Jul 11 06:59:52 fdssa125 Corrupt label; wrong magic number

bash-3.00# luxadm -e forcelip /dev/fc/fp1

The “after” cfgadm:

bash-3.00# cfgadm -al

Ap_Id Type Receptacle Occupant Condition

c0 scsi-bus connected configured unknown

c0::dsk/c0t0d0 disk connected configured unknown

c1 scsi-bus connected configured unknown

c1::dsk/c1t0d0 CD-ROM connected configured unknown

c2 fc-fabric connected configured unknown

c2::50060e80042cc540 disk connected configured unknown

c3 fc-fabric connected configured unknown

c3::50060e80042cc550 disk connected configured unknown

usb0/1 unknown empty unconfigured ok

usb0/2 unknown empty unconfigured ok

usb1/1.1 unknown empty unconfigured ok

usb1/1.2 unknown empty unconfigured ok

usb1/1.3 unknown empty unconfigured ok

usb1/1.4 unknown empty unconfigured ok

usb1/2 unknown empty unconfigured ok