VMware Cloud Community
dazpreuss
Contributor
Contributor
Jump to solution

Unable to prepare disk for vSAN

Good afternoon,

I have 6 hosts with 7 SSDs each in a single cluster.

I have previously configured the SSDs on some hosts as datastores.  I have just finished my vSphere course and would like to configure vSAN.  I have noticed that the SSDs that have previously been used as datastores are not available to contribute towards the vSAN.

I have read a KB https://www.viktorious.nl/2014/04/15/vsan-local-disks-showing-wipe-disks-straight-esxi-console/  regarding the requirement to erase partitiions from the disks to remove artefacts.  One explained the fdisk process which has now been deprecated and replaced by partedUtil

When i explore a particular disk i can see legacy partitions:

pastedImage_0.png

When i try to delete partitions I receive a READ ONLY error:

pastedImage_1.png

Via VCenter i can see the drive and legacy vSAN partitions:

pastedImage_0.png

If i try to erase the partitions it fails.

pastedImage_1.png

Any guidance would be greatly appreciated


Daz

1 Solution

Accepted Solutions
dazpreuss
Contributor
Contributor
Jump to solution

I am not sure why it fixed it however a restart of the physical host has now allowed me to delete the legacy VSAN partitions.

View solution in original post

Reply
0 Kudos
2 Replies
dazpreuss
Contributor
Contributor
Jump to solution

I am not sure why it fixed it however a restart of the physical host has now allowed me to delete the legacy VSAN partitions.

Reply
0 Kudos
srodenburg
Expert
Expert
Jump to solution

That is normal. When you delete a vSAN Filesystem, the partitions are still there and locked. A reboot unlocks and allows deletion.