Is there a good FAQ, document, or book on this? We've had several bad cloning operations on VM's on a particular server, and, each time, we lose tens of gigs of available space. Sometimes, rebooting the server causes the available disk space estimate to increase, implying that junk/tmp files were deleted; other times, it does not. (For example, someone just tried to clone a 27 GB) virtual machine. The copy failed, but disk space is still down by 27GB after rebooting, and I am not finding whatever temp files are eating up the space.)
Thanks!
I went into /vmfs/volumes ( command line ) and laboriously listed out each directory in each LUN, put this in a spreadsheet, then in VIC looked at each VM ( Edit Settings | select Hard Disk ) and correlated the VMs with the directories in the spreadsheet. When done I found many "orphaned" directories. In each of these I looked at the last access time ( command line "ls -l") and then deleted the directory ( command line "rm -rf SOME_SERVER").
be very careful, this would have a negative impact on a running guest, the "rm -rf" must be done as root.
I've done this and still the available disk space is showing low in my environment.
e.g. I've run vdf to find:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 5036316 1368208 3412276 29% /
/dev/sda1 101089 26259 69611 28% /boot
none 134284 0 134284 0% /dev/shm
/dev/sda6 2008108 92964 1813136 5% /var/log
/vmfs/devices 803538191 0 803538191 0% /vmfs/devices
/vmfs/volumes/48c93571-cca79da0-0fc3-001ec9d560cb
722468864 693159936 29308928 95% /vmfs/volumes/storage1
If I'm reading this right, I should have about ~28GB of space.
Yet Vmware Converter and the VIC both show 3.92 GB free, which is preventing me from moving images over.
.