How to configure All-Flash vSAN from command line - logo

In my previous post I showed you my new homelab. It was configured having in mind single node vSAN to leverage caching for I/O. Today I will show you how to configure all-flash vSAN from command line.

  1. To configure single node all-flash vSAN we first must identify the disks we will use.
  2. Login to ESXi via SSH and execute command vdq -q. This command will list all available disks to be used.

  3. In my case I’ve got two disks – 256GB NVME which will be used as flash tier and 2TB SSD as a capacity tier.
  4. Once we identified our disks we must tag the 2TB disk as a capacity disk
  5. In the next step we will add 256GB NVME disk as a flash device
  6. In the next step, we will create vSAN Cluster.
  7. Once vSAN Cluster is enabled we must change default vSAN policies to allow us to deploy virtual machines.
  8. Now we can deploy virtual machines.




Social Media

Wojciech Marusiak

Cloud Solution Architect at Microsoft
I am an innovative and experienced IT professional with over 13 years in the IT industry.

My experience and skills have been proven by leading vendor certifications like AWS, Alibaba Cloud, VMware, and Microsoft. I contribute to the IT community and I received VMware vExpert 2014 - 2019, vExpert Pro and VMware vExpert NSX 2017 Award.

My blog - was voted #76 in Top vBlog 2018 contest!

Do what you love, and you’ll never work another day in your life.
Wojciech Marusiak
Social Media