LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   VirtualBox actual disk size less than virtual (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virtualbox-actual-disk-size-less-than-virtual-4175482898/)

CollieJim 10-31-2013 06:29 AM

VirtualBox actual disk size less than virtual
 
Hi,

I have VirtualBox 4.1.122_Ubuntu r77245 installed on my Kubuntu 12.04 system.

The VMM VirtualBox Manager Settings window reports
Code:

Type (format) Normal(VDI)
Virtual Size: 48.83GB
Actual Size: 18.95GB

To increase the size I used
Code:

vboxmanage modifyhd --resize 50000 <path to windows.vdi>
The instructions then said to use a partition manager to increase the partition size for the extra space to be available to the OS.

I booted a live Kubuntu 12.04 DVD in the VM and ran Kparted. It only sees a 25GB partition, of which it says 24.3GB are used. Not the 48.83GB virtual disk.

How do I make the full virtual disk available?

Thanks
Jim

Robhogg 10-31-2013 08:49 AM

I believe the difference between "Virtual" and "Actual" sizes in the VM manager only means that it is using dynamic disk allocation, so only claiming enough space on the host machine to store the actual data.

What do you see if you open a terminal window in the VM and run sudo fdisk -l?

jefro 10-31-2013 02:35 PM

I agree with Robhogg. When you created the virtual hard drive did you select fixed size?

http://www.virtualbox.org/manual/ch05.html#vdidetails

CollieJim 10-31-2013 09:04 PM

I don't remember if I specified fixed. How do I find out, and how can I change? I don't see a vboxmanage option.

Firerat 10-31-2013 09:53 PM

file --> Virtual Media Manager

it will tell you if dynamic or not

CollieJim 10-31-2013 11:52 PM

Dynamic.

I want to install the CooCox development system. The IDE is installed, but the next bit wants 1.7MB and the installer said there is only 1.3MB available, do I want to continue.

I just tried again and got no message. All is installed and is yet to be tested.

Thanks
Jim

jefro 11-01-2013 03:55 PM

In some rare cases fixed is better and faster. Some installers may not have enough time for host to create room.


All times are GMT -5. The time now is 01:36 PM.