If you rescan an HBA and there is an already configured VMFS datastoreconfigured it should show up - if there is not a VMFS system on the datastore ESX will not recognize it as a datastore
Have you tried -- service vmware-vpxa restart ?
When i rescan my hba's on the service console (all commands must be configured through the service console). it only updates the lun's attached to the esx host.
the rescanning of the hba will be done with : esxcfg-rescan vmhba1
my vmfs volumes are not updated. when i do a rescan with vi-client i see two checkboxes/tasks wich will be carried out when pressing on rescan in the storage adapters section.
i am looking for the command wich is behind this checkbox.
rscan.JPG 21.0 K
No i Have not tried -- service vmware-vpxa restart ?
because the vi-client should not be restarted.
esxcfg-rescan is the command that does this - when you run this from the command from the service console CLI and do a ls /vmfs/volumes/ does it show the VMFS that is on the new VMFA data store? or are you looking for the command to create a VMFA datastore on the new LUN? to do that it would be vmkfstool -C vmfs3 -S VMFS_Volume_Label partion_address(vmhba.#.#.#)
1 person found this helpful
to update the vmfs list, you also need to run "vimsh -ne 'hostsvc/storage/refresh" after doing the rescan of the HBAs
The esxcfg-rescan command is actually a wrapper that runs vmkfstools/scantools in the background. As weinstein5 has pointed out, this will update both LUNs and VMFS's, provided they are not seen as a snapshot. What you are seeing in the GUI are the equivalent commands run directly, which the wrapper esxcfg-rescan automatically does.
Thanx for the reply.. this is exactly what i am looking for.
i accidently gave the wrong person the most points for the answer.. sorry for that.
maybe one of the moderators can change this.