Understanding VDI disk usage
Posted: 18. Jul 2010, 19:21
Hello,
I'm writing this post because I'm facing a "disk full" error due to only 626 small megabytes remaining on my Linux guest "/" partition.
This is the status of 10GB expanding VDI used by the guest system (NewHardDisk2.vdi - with 2 snapshots):

The "actual size" of those files corresponds to what Windows Explorer says.
And that is the result of the disk usage while executing the "df -h" command in the guest system:
I don't see any connection:
- I should have a lot more than 626MB of free space
- How can the total used hard-disk space given by "df" be bigger than the actual size of the VDI (3.7GB)?
- How can the total hard-disk space (free+used) given by "df" be different than the virtual size (10GB)?
I'm writing this post because I'm facing a "disk full" error due to only 626 small megabytes remaining on my Linux guest "/" partition.
This is the status of 10GB expanding VDI used by the guest system (NewHardDisk2.vdi - with 2 snapshots):

The "actual size" of those files corresponds to what Windows Explorer says.
And that is the result of the disk usage while executing the "df -h" command in the guest system:
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
5.8G 4.9G 626M 89% /
/dev/sda1 99M 19M 75M 21% /boot
tmpfs 1006M 0 1006M 0% /dev/shm
/dev/hdc 32M 32M 0 100% /media/VBOXADDITIONS_3.2.6_63112I don't see any connection:
- I should have a lot more than 626MB of free space
- How can the total used hard-disk space given by "df" be bigger than the actual size of the VDI (3.7GB)?
- How can the total hard-disk space (free+used) given by "df" be different than the virtual size (10GB)?