Travis Quinnelly bio photo

Travis Quinnelly

vTechify is my home to talk about all things virtualization. Here I share things learned in lab and production environments both for my documentation and others to stumble upon for reference.

Twitter Google+ LinkedIn Instagram Github

I had an issue recently where I needed to check the file space on an ESXi host. Luckily landed in my Google search with just what I needed.

Most of us will be familiar with the df command. But in ESX, you use the vdf command, located in /usr/sbin. Running the vdf command will net you similar output to what you see with df. Simply run the following to see free space on each of your disks:

vdf -h

You can also list all of your data stores to correlate the vdf output with esxcfg:

/usr/sbin/esxcfg-scsidevs -c