Mounting a VMFS5 volume fails with the error: Read from primary gpt table failed
book
Article ID: 341569
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Symptoms:
A VMFS5 volume fails to mount.
In the /var/log/vmkernel.log, you see entries similar to:
cpu12:23535238)Partition: 644: Read from primary gpt table failed on "naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx". cpu12:23535238)FSS: 5092: No FS driver claimed device 'naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:1': Not supported
When trying to read the GTP table info using the partedUtil command, you see this error:
Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used. Fix primary table ? diskPath (/dev/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) diskSize (xxxxxxxxx) AlternateLBA (1) LastUsableLBA (xxxxxxxxxxx)
Note: Ensure the device is not a Raw Device Mapping, and answer "Y" when you get this message:XXXXX
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 gpt 267349 255 63 4294967296 1 2048 4294967262 AA31E02A400F11DB9590000C2911D1B8 vmfs 0
Impact/Risks: Warning: This procedure can change the partition table. It should only be used if a valid current backup of the data residing on the datastore exists.