Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have selected "dynamically allocated" mode upon creating virtual drive. I was thinking it will grow automatically up to maximum size. But it constantly has "actual size" of 4Gb and does not growing to 8Gb which is virtual size. Guest OS says it has no more space on drive on /dev/sda1.

Is it possible to kick it somehow?


share|improve this question
up vote 3 down vote accepted

If you want to add space to the guest, there's 2 places it needs done: First in the virtualization host itself (Virtualbox, in your case), then again inside the guest.

If you originally created the virtual drive as 4 GB, then later resized it to 8 GB, you'll need to do some work in the guest OS to have it makes use of the extra space. Right now it's as if you took a 4 GB partition and put it onto an 8 GB drive -- the partitions haven't changed, so the rest of the space is unallocated as far as the guest is concerned. You can either add a 2nd partition in the guest or use some utility to resize the partitions in the guest.

share|improve this answer

I think he's talking about the dynamically allocated image option "This will initially be very small and not occupy any space for unused virtual disk sectors, but will grow every time a disk sector is written to for the first time, until the drive reaches the maximum capacity chosen when the drive was created.", so the vm was created with an initial virtual drive of 4 Gb that would be growing until reaching the maximum capacity of 8 Gb. So the problem is that the virtual drive is full and is not growing dynamically as it's supposed to be.

share|improve this answer
Even dynamically-allocated images have a limit to just how far they're willing to grow. So the problem is that he set the maximum grow size to 4GB initially. – allquixotic Nov 2 '12 at 21:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .