ESXI datastore size

Dear All,
I have a VM running on ESXI 4 server , the data store capacitys is 200 GB and the free size is 23.33 GB

while the VM itself has 2 drives :

C with 9.8 GB used space and free space 1.01 GB
D with 79.7 GB used space and free space 87.7 GB

so i dont need all the data store capcity to be deticated to this VM as i am planning to have another VM on this server.

What i want to do is limit the datastore capacity assigned to this VM.

I am using Vsphere client to manage this ESXI sever.I am new to the VMware tools so i need a detailed steps of how can i do this as i couldnt reach any result through the search.

Thanks for help.
mostabdoAsked:
Who is Participating?
 
NateWilliamsConnect With a Mentor Commented:
Given that you have the free space, I would do the following.  Using Vmware converter, clone the virtual machine to another virtual machine.  During the process you can select to resize the logical volume.  Whatever size you specify on the logical volume, it will resize the VMDK on the destination VM.
0
 
Paul SolovyovskyConnect With a Mentor Senior IT AdvisorCommented:
Since you've already given the VM the partition size you can't limit it to less.  
 
If this a Windows 2008 VM you can resize the partition but the volume will still be the same size.  What I have done in the past is to use VMware vConverter to resize the volumes..you can do this to a network share and convert to a Windows VM.  Then you can use vConverter to to take that Windows VM and convert back to ESXi VM with different size volumes.

0
 
coolsport00Connect With a Mentor Commented:
Are you saying you don't need all the size that you've allocated on the D: drive? What you can do is create another hard disk for your VM for the size you're actually needing. Copy all your data from D: to this new 'partition', delete/remove D:, rename your new partition D: if you so choose, then delete the D: hard disk from the VM settings. You will then recover space from that D: on your datastore. Another option is to do as "paul..." suggested above.

Regards,
~coolsport00
0
All Courses

From novice to tech pro — start learning today.