Problem:
Changed HBA firmware and performed reconfiguration reboot (reboot -- -r) of host.
Causes of this problem:
New firmware created a different physical path for the connection to the CLARiiON array. This happens when the host bus adapter (HBA) previously had FCode and the new firmware does not (or vice versa). You must clear the current logical/physical paths from /dev/dsk, /dev/rdsk, and the PowerPath database and then recreate them.
How do I correctly delete logical/physical paths and clean the PowerPath database?
If the Sun host is running Solaris 8 and above, run the devfsadm -C command.
Note: If there is a logical link and the physical path is valid for the array, Solaris will not delete the paths. The only way to ensure that devfsadm -C will work in that case is to disable the Fibre connections to the array.
If the devfsadm command does not work or the Sun host is running a revision of Solaris earlier than 2.8, follow these steps:
1. Delete the physical paths:
From the /dev/rdsk directory run the ls -l command on the logical links associated with the CLARiiON array. For this example, the physical path is "/devices/pci@9,700000/fibre-channel*" and /devices/pci@9,600000/fibre-channel*:
Code:
* rm -r /devices/pci@9,700000/fibre-channel*
* rm -r /devices/pci@9,600000/fibre-channel*
2. Delete the logical links under /dev/rdsk and /dev/dsk for the controllers and emcpower devices:
Code:
* rm /dev/dsk/c6*
* rm /dev/dsk/emcp*
* rm /dev/rdsk/c7*
* rm /dev/rdsk/emcp*
3. Delete the pseudo devices associated with the emcpower devices:
Code:
* rm /devices/pseudo/emcp*blk
* rm /devices/pseudo/emcp*raw
4. Create a zero /kernel/drv/emcp.conf and /etc/powermt.custom files:
Code:
* >/kernel/drv/emcp.conf
* >/etc/powermt.custom
5. Remove all the entries for the HBA associated with the CLARiiON array from the "/etc/path_to_inst" file:
Code:
* cp /etc/path_to_inst /etc/path_to_inst.11072003
* grep -v fibre-channel /etc/path_to_inst > /tmp/path_to_inst (Make sure the file /tmp/path_to_inst have all the entries for the internal boot device.)
* mv /tmp/path_to_inst /etc/path_to_inst
6 Reboot reconfigure the host:
7. When the host is back, make sure the PowerPath database will be created with the new paths:
Code:
* powercf -q
* powermt config
Hope this help you.
Cheers.