This was another day where we got new devices in our SAN and my collegue told me "just use the new bunch of disks to put up a temporary storage for me, ok?". Unfortunately, Solaris isn't as reliable in autodetecting new devices on the fiberchannel side. Sometimes it works, sometimes it does not.
A reconfiguration reboot DOES solve the problem but this is not available here. A downtime for adding a fc disk, quite fuzzy.
So after some lookups I found a command normally NOT used for this task automatically does the right thing:
Yes, this command LISTS configured channels and devices, but look at the "a" - it expands dynamic lists - wtf .. - yes it does what you want. It discovers new fc devices and attaches the relevant drivers to them, even MPxIO:
Just in case you have the same problem...
[Update Apr 20th, 2008:] You may check the multiple paths handled by scsi_vhci by using vhci_stat.
A reconfiguration reboot DOES solve the problem but this is not available here. A downtime for adding a fc disk, quite fuzzy.
So after some lookups I found a command normally NOT used for this task automatically does the right thing:
cfgadm -alYes, this command LISTS configured channels and devices, but look at the "a" - it expands dynamic lists - wtf .. - yes it does what you want. It discovers new fc devices and attaches the relevant drivers to them, even MPxIO:
Mar 19 06:03:15 augusta genunix: [ID 834635 kern.info] /scsi_vhci/disk@g600d0230006b66680c50ab0187d75000 (sd26) multipath status: optimal, path /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0 (fp1) to target address: w220000d0232c50ab,2 is online Load balancing: logical-block, region-size: 20
Mar 19 06:03:20 augusta genunix: [ID 834635 kern.info] /scsi_vhci/disk@g600d0230006c1c4c0c50be27386c4900 (sd27) multipath status: optimal, path /pci@7b,0/pci10de,5d@e/pci1077,142@0/fp@0,0 (fp1) to target address: w210000d0231c50be,2 is online Load balancing: logical-block, region-size: 20Just in case you have the same problem...
[Update Apr 20th, 2008:] You may check the multiple paths handled by scsi_vhci by using vhci_stat.

Thanks for this post. After searching around for a few minutes, this did the trick nicely on my Solaris 10u6 system attached to a third party SAN using MPxIO.