Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running a Oracle VirtualBox on my Windows machine. Created a Linux VM with hard disk of capacity ~100G.

In settings of VirtualBox the virtual disk size is shown as 100 G, but then df -kh (inside VM) gives:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       5.1G  4.3G  550M  89% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup

Not sure why it is Inconsistent and currently I am running out of disk space.

Output of fdisk -l /dev/sda is :

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001a900

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    10938367     5468160   83  Linux
/dev/sda2        10940414    16775167     2917377    5  Extended
/dev/sda5        10940416    16775167     2917376   82  Linux  swap / Solaris
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.