: Failed to expand VMFS datastore datastore1 - Cannot change the host configuration.
This issue can be caused by the partition table on the underlying storage device not being resized to accommodate the increased capacity, or the filesystem not being extended to utilize the additional space on the LUN.
ls -ltrh
vmkfstools -Ph -v10 bootbank
vmkfstools -Ph -v10 /vmfs/volumes/<datastore name>
mpx.vmhbaX:CX:TX:LX
as an example. Replace mpx.vmhbaX:CX:TX:LX
with your device identifier that may begin differently. For example, naa or eui.partedUtil getptbl "/vmfs/devices/disks/mpx.vmhbaX:CX:TX:LX"
partedUtil getUsableSectors
command:partedUtil getUsableSectors "/vmfs/devices/disks/mpx.vmhbaX:CX:TX:LX"
partedUtil resize "/vmfs/devices/disks/Device" PartitionNumber StartingSector NewEndingSector
partedUtil resize "/vmfs/devices/disks/mpx.vmhbaX:CX:TX:LX" 3 10229760 16878999
The kernel was unable to re-read the partition table on /dev/Device (Device or resource busy).
vmkfstools --growfs "/vmfs/devices/disks/Device:partition" "/vmfs/devices/disks/Device:partition"
vmkfstools --growfs "/vmfs/devices/disks/mpx.vmhbaX:CX:TX:LX:3" "/vmfs/devices/disks/mpx.vmhbaX:CX:TX:LX:3"
vmkfstools -V
df -h
hostd
and vCenter Server, or any connected client. Click the Refresh button in the vSphere Client to update the Datastore capacity and usage.