I have Ubuntu 14.04 installed as a guest OS on my Win 7 machine. VirtualBox shows that Virtual Disk Size for this OS is 8 GB, Actual Disk Size is 3.65 GB and the disk is set to be expanded dynamically. My Ubuntu Disk Size has already reached a limit of 3.65 GB and is telling me that it is low on disk space. At this point I would expect the drive to expand, but it is not happening. Does anybody know what is the problem?
Thanks
Guest Linux says "low disk space"
-
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: Guest Linux says "low disk space"
First, disk capacity never expands. From the point of view of the guest OS the disk capacity never changes from the size you selected when the disk was created. Only the allocation (on the host) of that capacity is dynamic, i.e. done on demand.
If you are getting low disk space errors from a guest OS then it means you are approaching the capacity of a partition, probably the main partition. I'm guessing that your partition is around 4GB. You can use a partition manager such as GParted to expand this, if there is unallocated space on the drive.
See the user manual for an explanation of what "dynamic" and "fixed" means in the context of virtual disk images.
If you are getting low disk space errors from a guest OS then it means you are approaching the capacity of a partition, probably the main partition. I'm guessing that your partition is around 4GB. You can use a partition manager such as GParted to expand this, if there is unallocated space on the drive.
See the user manual for an explanation of what "dynamic" and "fixed" means in the context of virtual disk images.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Guest Linux says "low disk space"
Is the guest disk formatted in LVM? Post the results of the following from the guest terminal
Code: Select all
df -h