VSAN does not detect SSD with existing partitions

VSAN cannot use disks with existing partitions on them, this post describes how to delete partitions on a disk (in this case an SSD).

To obtain a list of disk device names that can be managed by partedUtil, run this command:

ls /vmfs/devices/disks/

Example of output under ESXi/ESX 4.0 and later:

mpx.vmhba0:C0:T0:L0 <– disk device
mpx.vmhba0:C0:T0:L0:1 <– partition 1
mpx.vmhba0:C0:T0:L0:2 <– partition 2
mpx.vmhba0:C0:T0:L0:3 <– partition 3
mpx.vmhba0:C0:T0:L0:5 <– partition 5
naa.60060160205010004265efd36125df11 <– disk device
naa.60060160205010004265efd36125df11:1 <– partition 1

Once you have identified the disk (using the naa) run the following commands to retrieve the existing partition table for the disk:

partedUtil get “/vmfs/devices/disks/DeviceName

Then run the following commands to delete the partitions:

partedUtil delete “/vmfs/devices/disks/DeviceNamePartitionNumber

The disk should now be available for use within VSAN.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.