VMware Cloud Community
techsuresh
Enthusiast
Enthusiast

Command to know vmdk usage in ESX3.5

Hi all,

I wanted to know that how could I know the vmdk usage using esx3.5 service console? What I mean to ask you is, I want to know how much space is available and how much is used in that particular vmdk even that vm is in on/off state?

I hope you got my question

Please let me know

Thanks in advance

Suresh

Reply
0 Kudos
1 Reply
vmroyale
Immortal
Immortal

Hello.

Use the following command to view the space provisioned:

ls -lL /vmfs/volumes/<PATH_TO_VM>*.vmdk

And use this command to view the space actually used by the VMDK:

du -sh /vmfs/volumes/<PATH_TO_VM>*.vmdk

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
Reply
0 Kudos