When trying to expand the local vmfs datastore, we receive error
"Failed to expand VMFS datastore datastore1 (102) - Failed to update disk partitions for /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxx"
But when expanding the vmfs datastore from vCenter vSphere client, it completes successfully.
In the /var/log/vmkernel.log we observe "can not be shrunk" errors:
Partition: 1993: naa.xxxxxxxxxxxxxxxxxxxxxxxxx: in-use partition 7 can not be shrunk
In var/run/log/hostd.log, we see:
Unable to setptbl on /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Error: Error: Read-only file system during write on /dev/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This is a known issue with the ESXi host client.
There is currently no resolution and datastore expansion should be completed from the vCenter vSphere Client.