分类:
2006-08-14 15:32:49
ls /proc/vmware/scsi # list all adapters
vmkfstools –s Adapter # to rescan adapter for new luns
esxcfg-rescan Adapter # rescan adapter for new luns
you can see the result by using ls /vmfs/devices/disks.
you can rescan all adapters by using below script rescan-all.sh:
in the ESX admin guide, it say esxcfg-rescan can scan all adapters, but really it can not. so i don't know what's ther difference between esxcfg-rescan and vmkfstools -s. but you can rescan all adapters use my script:
for ADAPTER in $(ls /proc/vmware/scsi/)
do
esxcfg-rescan $ADAPTER
done