Extending the datastore from the ESXi host client fails with: Failed to expand VMFS datastore <Datastore Name> - Failed to update disk partitions for /vmfs/devices/disks/naa.################################
In /var/run/log/hostd.log reports error: Error: Can't have a partition outside the disk!
####-##-##T##:##:##.###Z warning hostd[2102149] [Originator@6876 sub=Partitionsvc opID=esxui-7432-5392 user=####] Unable to setptbl on /vmfs/devices/disks/naa..################################",
--> Status: 255
--> Output: gpt
--> 0 0 0 0
--> 1 2048 3510632448 ################################ 0
-->
--> Error: Error: Can't have a partition outside the disk!
--> AddNewPartitions: ped_partition_new failed
-->
-->
####-##-##T##:##:##.###Z verbose hostd[2102149] [Originator@6876 sub=Solo.Vmomi opID=esxui-7432-5392 user=####] Arg spec:
--> (vim.host.VmfsDatastoreExpandSpec) {
--> diskUuid = "#####################<VML ID>############################",
--> partition = (vim.host.DiskPartitionInfo.Specification) {
--> partitionFormat = "gpt",
--> totalSectors = 3510632415,
--> partition = (vim.host.DiskPartitionInfo.Partition) [
--> (vim.host.DiskPartitionInfo.Partition) {
--> partition = 1,
--> startSector = 2048,
--> endSector = 3510632448,
--> type = "0xfb",
--> guid = "################################",
--> logical = false,
--> attributes = 0,
--> }
--> ],
--> },
--> extent = (vim.host.ScsiDisk.Partition) {
--> diskName = "naa.################################",
--> partition = 1
--> }
--> }
Host UI client error
This issue is resolved in ESXi 8.0 P01
Expand the datastore via the vSphere client
If the vSphere UI is not showing available storage devices please see KB Extending or increasing a datastore through vCenter Server fails