My system
- VMWare Fusion 2.0.4
- Virtual machine with Ubuntu 9.04 Desktop
Situation
My vm has one virtual disk of type growable.The size of the *.vmdk file on the file system is around 4.7 GB. In the vm I'm trying to install Oracle Database. Oracle requires 1.5GB of free space on the hard disk. When I try to install Oracle, it complains that there's insufficient disk space. True, "df -h" on the Ubuntu vm tells me:
- /dev/sda1 6.6G 5.3G 986M 85% /
So I have to expand my virtual disk size. I tried it using vmware-vdiskmanager:
- $ vmware-vdiskmanager -x 8GB Ubuntu-9_04-Desktop.vmdk
This should add at least a few GB to my disk.
Problem
However when vmware-vdiskmanager has finished expanding, and I restart my vm, "df -h" still tells me exactly the same thing:
- /dev/sda1 6.6G 5.3G 986M 85% /
So the expansion has had not effect on the available space inside my vm. I tried to expand from the Settings > Hard disks panel; same effect... Since Oracle won't install if there's not at least 1.5GB available, I'm stuck.
Questions
- What's should be the effect of expanding a virtual disk of type 'growable'?
- When I look in my vm's Settings > Hard disks I see that my growable disk has a size of 8G, but the size of the *.vmdk file is only 4.7GB, and the same value is shown when I lookup the disk size inside my virtual machine. So what exactly does it mean that VMWare tells me that my growable disk has size 8GB? Is this an upper limit or something? (Some extra info that might be related to my problem: this disk was converted a while ago from a preallocated disk to a growable disk).
- Most important question: How can I increase the available disk space of 986M inside my virtual hard disk to something larger than 1.5GB? I assume this can be achieved by converting my hard disk to type 'preallocated' but I don't really want to do this because after the installation a lot of space will free up again inside the vm, and I don't want to convert it back to 'growable' to be able to shrink it again...