Determining free space inside the OS

How can you determine how much free space is available inside the operating system, without logging in to the VM?  If the virtual machine is thin provisioned, it is supposed to only consume as much space on the datastore as is actually required for the data on the hard drive (plus a little overhead for things like configuration files).  Supposing that a thin provisioned vm DOES have snapshots, is there a way to estimate the amount of free space?  For example, to estimate the free space that would be reported when viewing the properties of the C: drive in Windows, but without logging in.

0 Kudos
3 Replies
vmroyale
Immortal
Immortal

Hello.

The RVTools vPartition tab will give you this information.  Beware though that the space used by data on the volume in the OS and the amount of the disk consumed won't always work out to be the same though, due to the way blocks are allocated.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
gaspipe
Enthusiast
Enthusiast

I haven't tried it on Windows VMs, but this script:

http://communities.vmware.com/docs/DOC-9842

has the abilty to report guest OS disk free/used space.

Thanks - RVTools seems to work pretty well - haven't tried the script yet but good info to know.

0 Kudos