[Solved] VDI will not expand

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Plagrö
Posts: 140
Joined: 27. May 2018, 14:57

[Solved] VDI will not expand

Post by Plagrö »

Hello,

I have a linux guest created with flexible HD (normal).
When I now copy some date in thunar it is said something like "not enough place".

I tried to find out how big my virtual Linux is. To make this I opended thunar as sudo:

The folders:
.cache, .config, bin. boot, dev, etc, home, lib, lib64, lost+found, media, mnt, opt, proc, root, run, sbin, sys, tmp, usr, var
are togheter 8.6 GB.

When I go onto the "/" it is said: 10.9 MiB of 9.5GiB free.

So I went to the Menu->file->Manager for virtual machines:
VM Manager Linux.png
VM Manager Linux.png (46.05 KiB) Viewed 838 times
There I changed the slider from 10.79 to 13.24.

I again started the VM.
My expectation was, that I now have more place on my virtual HD. But again it is said: 10.9 MiB of 9.5GiB free.

But I can force to copy files. In this case it can copy about 450 MB.

This is a contradiction to the saying 10.9 MiB of 9.5GiB free. And also to the fact, that I did make more than 2 GB free with the slider in the Manager for virtual HD's.

Nothing, but really nothing matches togheter.

But my most important question is:
How can I make my VDI bigger?

Thank you.
Last edited by Plagrö on 6. Apr 2020, 22:12, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VDI will not expand

Post by mpack »

Best go research the difference between disks and partitions. Then run your favorite partition manager inside the guest OS to resize your main partition.

And talking of partitions, I notice that the swap partition is missing from your disk usage list. That's unfortunate since it's likely to be several GB in size.

If you need to continue the conversation then I'll require a VM log. With the VM fully shut down, right click it in the GUI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
Plagrö
Posts: 140
Joined: 27. May 2018, 14:57

Re: VDI will not expand

Post by Plagrö »

Thank you.
Then run your favorite partition manager inside the guest OS to resize your main partition.
Not possible:
GParted Linux Guest.jpg
GParted Linux Guest.jpg (119.24 KiB) Viewed 829 times
Edit1:
In the meantime I found out, that GParted shows a plus of about 2.3 GB in one of my snapshots only.

Edit2:
In the meantime tried to make it for each Snapshot. Now I was able to enlarge my virtual Disk to a plus of 2.3 GB. Thank you for the hint with the partion manager.

Edit3:
Hint: To find out how big the virtual system is, we have to add the amount of space from all snapshots in the "manager for virtual media".
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: [Solved] VDI will not expand

Post by mpack »

Hmm. I guess you didn't read the faq, in particular where it talks about snapshots.

How to resize a Virtual Drive.
Post Reply