VSAN Physical Disk Pre-Partitioned

Recently I added an ESXi host to a VSAN cluster (HP DL380 G9 with 2 x 800GB SSD and 6 x 4TB Magnetic) however when creating the disk group only 2 disks were available for use.

After some investigation it turns out the other disks already had partitions, this was confirmed by running the following command:

ls /vmfs/devices/disks

Running the PartedUtil getptbl /vmfs/devices/disks/naa.5000xxxxxxxxx command fails with the error: “Error: Can’t have a partition outside the disk!”

To resolve this (and allow the disks to be added to a VSAN disk group) I ran the following:

partedUtil setptbl /vmfs/devices/disks/naa.5000xxxxxxxxxxx msdos

Then reboot the host.

***This will destroy any data already on the disks***

Leave a Reply

Your email address will not be published. Required fields are marked *