Search the VMware Knowledge Base (KB)
View by Article ID

Formatting LUN as VMFS 5 fails with the error: Can't have a partition outside the disk! (2082806)

  • 4 Ratings


After a new LUN is mounted to an ESXi host, you experience these symptoms: 

  • Cannot format LUN as VMFS 5.
  • Formatting LUN as datastore fails with the error:

    Call HostDatastoreSystem.QueryVmfsDatastoreCreateOptions for object ha-datastoresystem on ESXi failed

  • Running the PartedUtil getptbl /vmfs/devices/disks/naa.5000xxxxxxxxx command fails with the error:

    Error: Can’t have a partition outside the disk!
    Unable to read partition table for device /vmfs/devices/disks/naa.5000xxxxxxxxx


This issue occurs if LUN already has a partition on it.


To resolve this issue , create a normal MS-DOS partition on the affected disks using this command:
partedUtil setptbl /vmfs/devices/disks/naa.5000c50023397a33 msdos

Additional Information

You can resolve most of the partition issues with PartedUtil, provided the data is not corrupt.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 4 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 4 Ratings