book
Article ID: 307026
calendar_today
Updated On:
Environment
VMware vSphere ESXi 5.0
VMware vSphere ESXi 5.1
Cause
This issue occurs when the GPT partition on the disk is valid, but the protective Master Boot Record (MBR) Extended Partition Pointer is missing.
Resolution
The GPT partition contains a backup of the partition table in the last sector of the disk. To resolve this issue, recover the primary partition table from the backup using the partedUtil utility.
To recover the primary partition table using partedUtil :
- Open a console to the ESXi/ESX host. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
- Verify if GPT partition is valid using this command:
partedUtil getptbl /vmfs/devices/disks/DeviceName
For more information, see Using the partedUtil command line utility on ESXi and ESX (1036609).
- Back up the first 1.2 GB of the disk by running this command (saving the information under /tmp):
dd if=/vmfs/devices/disks/DeviceName of=/tmp/naaXXX.dd bs=1M count=1200
- Run this command to fix the partition:
partedUtil fix /vmfs/devices/disks/DeviceName
- Refresh the datastores using this command:
vmkfstools -V