How to shrink a vmare ESXI machine vmdk file
Posted on 2009-12-26
I am new to using ESXI. I have a virtual machine that has a vmdk file that is 30 gigs, yet the machine itself is only 20 gigs. Of the 20 gigs, I am using only 14Gigs.
I want to be able to create a new vm that uses only 15 or 20 gigs of disk, and import this one, or shrink the vmdk file to the 20 gig size it should be.
[root@vs5 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 19G 14G 3.9G 78% /
/dev/sda1 896M 23M 828M 3% /boot
none 1.1G 0 1.1G 0% /dev/shm
I am comfortable, but not expert, at working from the "unsupported" virtual host command prompt.
Can someone tell me what to do?