New fiberchannel devices in Solaris 10 and MPxIO - rescan? - cfgadm!

| | Comments (1) | TrackBacks (1)
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:

cfgadm -al


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:

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: 20



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.

1 TrackBacks

Listed below are links to blogs that reference this entry: New fiberchannel devices in Solaris 10 and MPxIO - rescan? - cfgadm!.

TrackBack URL for this entry: http://southbrain.com/mt/mt-tb.cgi/15

Quick answer: cfgadm -al Searching the web for this information took a few more minutes than I expected it to, so I’m posting this article with as may relevant keywords as I can think of. Thanks to Pascal Gienger for the clear answer to this que... Read More

1 Comments

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.

Leave a comment

June 2010

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

About

This blog is owned by:

Pascal Gienger
Kanzleistr. 14
78462 Konstanz
Phone +49 7531 584298
Fax +49 7531 584298-9

Phone USA 1-678-791-4182

YouTube Channel: pascalgienger