Vmfs Repair Partition Table __hot__
He stared at the vSphere client. The datastore, labeled DS-Finance-Prod , had a grey question mark icon next to it. The partition table was gibberish. The LUN was there, but VMFS had forgotten how to read itself.
The storage devices list flickered. The grey question mark spun, thought for a moment, and then— vmfs repair partition table
vmkfstools -R <VolumeUUID> /dev/disks/<DeviceIdentifier> He stared at the vSphere client
To compute the necessary termination block, inspect the total sector count provided in the first descriptive line of the partedUtil getptbl command. For instance, if your partition table output reads: gpt 2610 255 63 41943040 Use code with caution. The LUN was there, but VMFS had forgotten how to read itself
If the repair command returns "Partition Table updated successfully," you aren't done yet. You need to tell the VMkernel to re-read the disk and mount the volume.
Modern datastores use the GPT architecture. They default to a starting sector block offset of 2048 .
