I've got a weird one. I have a 6.7 system with six local datastores, all attached to the same HP P420 controller. All datastores were created under the RTM/gold build of 6.7. None of them have been resized or modified. ESXi was installed onto a USB key and I've been booting from the key ever since.
I then switch keys and boot the system into 6.5U2. Only four of the six datastores are recognized. The remaining two disks appear completely empty. The 6.5U2 installer exhibits the same behavior -- it sees the disks and it thinks they're empty. What gives?
I'm trying to pull off a "downgrade" by simply switching to the 6.5U2 key then re-configuring everything from scratch. I'm hoping to preserve the datastores -- and their data!
I assume that you've configured the P420 to presented 6 logical volumes to ESXi.
partedUtil getptbl /vmfs/devices/disks/....
for each of the 6 logical volumes, and post the commands including their output.
In addition to this, run esxcli storage vmfs snapshot list to see whether this command returns something.
Bingo. I get this on two of the six volumes.
Error: Function not implemented during read on /dev/disks/naa.600508b1001c71f79961c1be1afe0576
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.600508b1001c71f79961c1be1afe0576) diskSize (2344160432) AlternateLBA (2344225967) LastUsableLBA (2344225934)
Warning: The available space to /dev/disks/naa.600508b1001c71f79961c1be1afe0576 appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (65536 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 (2344160432) AlternateLBA (2344225967) LastUsableLBA (2344225934) NewLastUsableLBA (2344160398)
Error: Can't have a partition outside the disk!
Unable to read partition table for device /vmfs/devices/disks/naa.600508b1001c71f79961c1be1afe0576
Any recommendations? Is partedUtil fixGpt safe?