Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Resignaturing VMFS3 volumes from the command line in ESX/ESXi 3.x
Symptoms
- You recently changed the Host Mode setting on an HDS storage array
-
VMFS3 volumes are seen as snapshot volumes
-
Volumes are disabled or missing unexpectedly
-
Datastores are missing unexpectedly
-
You recently set the SPC-2 flag on the EMC Symmetrix storage array
-
You recently downgraded the Perc 4e/Di firmware and local datastores are now missing
-
/var/log/vmkernel contains the entry:
vmhba0:0:0:1 may be snapshot -
You recently performed the steps contained in On ESX Server Systems with Multiple PERC 4 Controllers, LUNs Become Temporarily Inaccessible After Upgrading the PERC 4 Firmware (5966817)
Cause
Resolution
Making this type of change on the storage array results in assigning a new LUN ID (UUID or Serial Number) to all LUNs presented via the modified ports/FAs.
VMFS3 metadata identifies the volumes by several properties which include the LUN number and the LUN ID (UUID or Serial Number). Because the LUNs now have new UUIDs, the resulting mismatch with the metadata leads to LVM identifying the volumes as snapshots.
You must resignature the VMFS3 volumes to make them visible again.
Caution:
- Before performing the steps in this article:
- Wait for a maintenance window
- Make sure all virtual machines are backed up properly
- Do not deviate from these steps.
To resignature the VMFS3 volumes from the command line:
- Power off all virtual machines on all ESX hosts that are stored on the volume.
- Run the following command to re-read the volume on each ESX host:
# vmkfstools -V
If this works, the problem is resolved. If this does not work, proceed to step 3.
- Remove all the virtual machines on that volume from the inventory in the VirtualCenter server.
Warning: Do not delete the virtual machines from disk. Remove them from the inventory.
- Log in to each host.
- Run the following command to verify which HBAs are providing access to the LUN:
# esxcfg-mpath -l | less
- To set the ESX host to resignature all datastores detected as snapshots on the next rescan, run the following command:
-
- For ESX:
# echo "1" > /proc/vmware/config/LVM/EnableResignature
- For ESXi:
# esxcfg-advcfg -s 1 /LVM/EnableResignature
- For ESX:
- To rescan the storage and perform the resignature on volumes detected as a snapshot, run the command:
# vmkfstools -V
- To disable the resignature flag, run the following command:
Warning: Do not skip this step.
- For ESX:
# echo "0" > /proc/vmware/config/LVM/EnableResignature
- For ESXi:
# esxcfg-advcfg -s 0 /LVM/EnableResignature
- For ESX:
- To ensure that the volumes stay mounted after resignaturing is turned off, run the command:
# vmkfstools -V
- Reinventory the virtual machines.
- Open VI Client to the VirtualCenter Server. The virtual machines show as inaccessible.
- Right-click on the virtual machine and click Remove From Inventory.
- Double-click the datastore to bring up the datastore browser.
- Select the folder in which the virtual machines resides.
- Right-click the virtual machine file (extension .vmx) or template file (extension .vmtx)
- Click Add to Inventory.
- Follow the wizard.
Additional Information
For related information, see Resignaturing VMFS3 volumes from VMware Infrastructure Client (9453805).
See Also
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

