Scanning for new SAN disks without reboot?
Okay, coming from an HP environment where if we zoned and masked new disks to a host we did this to see them...
ioscan -fn
insf -e
Bingo, can see and talk to new disks, and use them, all online, no reboot required.
How do I do this in SUN, solaris 10 mostly, although 8/9 steps are helpful too. I've tried several internet searches, and I got close, but was not able to get Veritas Enterprise Administrator or VVM to be able to use the disk unless we did a reboot.
Any help is appreciated.
[527 byte] By [
ss_taylora] at [2007-11-26 13:04:50]

# 1
It depends on the specific drivers that you are using.
The 'sd' drivers are old drivers that have a limited amount of reconfiguration available during boot, but many older 3rd-party HBA drivers use that as the base. From Solaris 9 onward you have the option of trying 'update_drv' to have a driver re-read its configuration file.
'ssd' drivers are much more configurable and should not require a reboot. You may need to use 'cfgadm' to gain access to new devices.
After you have the path up, get the OS to see the disk with 'devfsadm'.
Once seen by the OS, (visible in 'format'), make sure the disk has a label, then do 'vxdctl enable' to have VxVM rescan for devices.
--
Darren
# 2
The process should be as follows:
Verify that disks are NOT present with the format command, then
#> devfsadm -v -c disk
Verify that disk ARE present with the format command.
To add access to disks for Veritas do the following:
#> vxdctl enable
That should be it.