Removing virtual flash partition

If you change your mind about using a local SSD drive in your 5.5 ESXi host for virtual flash, but find that it won’t seem to let it go take a look at VMware KB article 1036609

I configured virtual flash just to see what would happen, then decided to use the SSD for VSAN instead.  Only, after disabling the Virtual Flash Host Swap Cache Configuration, the “Remove All” button on the Virtual Flash Resource Management page told me “Host’s virtual flash resource is inaccessible.” and “The object or item referred to could not be found.”

Fortunately I found the KB article above and used

ls /vmfs/devices/disks/

to identify my disks and

partedUtil delete "/vmfs/devices/disks/mpx.vmhba1:C0:T0:L0" 1

to delete the partition on my SSD drive

This entry was posted in Storage, Virtualization, VMware and tagged , , . Bookmark the permalink.

2 Responses to Removing virtual flash partition

  1. Dominique says:

    Hey, just as an info:

    I’ve had a similar problem, however the fault kept coming back. After trying the following it was solved :
    1) Delete the volume (as you described)
    2) Fix the GPT of the disc (replace the “delete” with “fix”)
    3) Using WinSCP i’ve deleted the vml.xxxxxx file (de link to the disc under the folder /vmfs/devices/disks)
    4) Reboot the host
    5) Voila, the vFlash is gone 🙂

    6) Reconfigured as needed

    I hope this helps anyone who encounters the same problem.

Leave a Reply

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