VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
The available space to /dev/disks/naa.xxxxxxxxxxxxxx appears to have shrunk
partedUtil getptbl /vmfs/devices/disks/naa.xxxxxxxxxxxxxx
Error: Function not implemented during read on /dev/disks/naa.xxxxxxxxxxxxxx
Error: The primary GPT table states that the backup GPT is located beyond the end of disk. This may happen if the disk has shrunk or partition table is corrupted. Fix, by writing backup table at the end? This will also fix the last usable sector appropriately as per the new reduced size. diskPath (/dev/disks/naa.xxxxxxxxxxxxxx) diskSize (468792000) AlternateLBA (468862127) LastUsableLBA (468862094)
Warning: The available space to /dev/disks/naa.xxxxxxxxxxxxxx appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (70128 blocks). You can fix the GPT to correct the available space or continue with the current settings ? This will also move the backup table at the end if it is not at the end already. diskSize (468792000) AlternateLBA (468862127) LastUsableLBA (468862094) NewLastUsableLBA (468791966)
Error: Can't have a partition outside the disk!
Unable to read partition table for device
Error: Function not implemented during read on /dev/disks/naa.xxxxxxxxxxxxxx
partedUtil fixGpt /vmfs/devices/disks/naa.xxxxxxxxxxxxxx
FixGpt tries to fix any problems detected in GPT table.
Please ensure that you don't run this on any RDM (Raw Device Mapping) disk.
Are you sure you want to continue (Y/N): Y
Error: Function not implemented during read on /dev/disks/naa.xxxxxxxxxxxxxx
Retry/Ignore/Cancel?
ON-DISK ERROR: The backup GPT table is corrupt
voma -m ptbl -f check -d /vmfs/devices/disks/naa.xxxxxxxxxxxxxx
Scsi 2 reservation successful
Running Partition table checker version 0.1 in check mode
Warning !! Using default disk block size of 512. Pass -b <diskblocksize> for 4Kn devices
Phase 1: Checking device for protective MBR
Phase 2: Checking device for a valid primary GPT
Detected valid GPT signatures
Number Start End Type
1 64 204863 Efi System
5 208896 8595455 Linux Native
6 8597504 16984063 Linux Native
8 268437504 468862094 vmfs
Phase 3: Checking device for a valid backup GPT
ON-DISK ERROR: The backup GPT table is corrupt, but the primary appears OK
Found a valid partition table on the device
Total Errors Found: 1