I am running Ubuntu 14 LTS as a virtual machine with VMware player 6.07. The machine is currently using 24.7 GB but the maximum size available to the disk is 230 GB. The disk space is not preallocated, however, my host operating system (windows 7) sees this maximum 230 GB file for the VMWare guest OS and thinks my disk is full. I can't find any good instructions for how to reduce the file size. I have run
sudo vmware-toolbox-cmd disk shrink /
within the Ubuntu Guest operating system, however, I don't know how to reduce the maximum size allocated to the guest OS. This command merely shrinks the used space (in my case from 32GB to 24.7 GB), but doesn't change how windows sees the guest os.