VMware Cloud Community
TonyJK
Enthusiast
Enthusiast
Jump to solution

How to find out the free spae in a VMFS volume ?

We have created a snapshot for a VM. The snapshot is growing bigger and bigger (As the VM is running SQL Server 2005).

From VC, we are not able to find out the size of the delta file. From PuTTy, we are able to do so. As we are not familiar with UNIX command, we would like to know is there any command so that we find out how much space of the VMFS is used and how much is still free.

We have tried "df" and "du" but it seems that they cannot give us the answer.

Thanks

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
rpartmann
Hot Shot
Hot Shot
Jump to solution

Hi,

with vdf -h you can find out how much space is free on your filesystems.

Reinhard.






ps: Award points if you find answers helpful. Thanks.

ps: Award points if you find answers helpful. Thanks.

View solution in original post

0 Kudos
3 Replies
rpartmann
Hot Shot
Hot Shot
Jump to solution

Hi,

with vdf -h you can find out how much space is free on your filesystems.

Reinhard.






ps: Award points if you find answers helpful. Thanks.

ps: Award points if you find answers helpful. Thanks.
0 Kudos
rpartmann
Hot Shot
Hot Shot
Jump to solution

Hi,

almost forgot you could install http://gt5.sourceforge.net/

bye r.




ps: Award points if you find answers helpful. Thanks.

ps: Award points if you find answers helpful. Thanks.
0 Kudos
taits
Enthusiast
Enthusiast
Jump to solution

vdf -h will show you the vmfs partitions in 'human readable' format i.e. GB

If you do a 'vdf -h' and then change into the directory of the vmfs partition where your virtual machine is located, and then into the directory of your virtual machine i.e.

cd /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx/VM

then do a 'ls -lh' to show you the long list human readable format of the files for the virtual machine. This will show you the size of each file for a particular virtual machine.