Solaris rescan SAN devices 
Rescan for new SAN devices can be done using the command

cfgadm -al

If a completely new storage system (e.g. Hitache Storage Systems) is added to the SAN, the storage may not be accessible even after using the command above. A relogin of each host bus adapter of the server in to the SAN is needed. Either you reboot the system or you use

luxadm -e forcelip /dev/cfg/cX; sleep 10 ; cfgadm -al

for each SAN adapter listed in the cfgadm -al output. Wait a few seconds between after each host bus adapter.

Or just do a relogin on each HBA port in use by the following commands

luxadm -e port |while read port rest ; do
luxadm -e forcelip $port
sleep 30
cfgadm -al
sleep 30
done
devfsadm


[ view entry ] ( 2065 views )   |  permalink  |  print article  |   ( 3.1 / 4411 )

<<First <Back | 1 | 2 | 3 | Next> Last>>