: Failed to expand VMFS datastore datastore1 - Cannot change the host configuration.
The datastore was identified as a snapshot, which led to this problem.
You will see similar event in vmkernel.log:
LVM: 11764: Device naa.####################:1 detected to be a snapshot:LVM: 11770: queried disk ID: <type 2, len 22, lun 0, devType 0, scsi 0, h(id) 15436777671286394200>LVM: 11777: on-disk disk ID: <type 2, len 22, lun 0, devType 0, scsi 0, h(id) 16841058529903986994>
Follow the below steps to resolve the issue :
Power off virtual machine present in affected data store.
Removed the VMs from inventory to avoid any conflict during datastore operations.
Performed a resignature of the datastore to generate a new UUID and remove the snapshot flag.command : esxcli storage vmfs snapshot resignature -l "datastore-name"
Remounted the datastore post-resignature. How to List, mount and unmount a volume/VMFS Datastore.
Successfully expanded the datastore to include the newly added LUN capacity.
Re-registered the virtual machines.
Refer Troubleshooting LUNs detected as snapshot LUNs in vSphere for more information.