Answer the question
In order to leave comments, you need to log in
Where does half of the disk space go?
I create a virtual machine, allocate 70 GB for hdd. I install Ubuntu 20.04, the layout is automatic.
On the installed host, for some reason only half is displayed
df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.4M 1.6G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 63G 35G 25G 59% /
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/loop0 56M 56M 0 100% /snap/core18/2128
/dev/loop2 56M 56M 0 100% /snap/core18/2344
/dev/loop3 44M 44M 0 100% /snap/snapd/15177
/dev/loop1 62M 62M 0 100% /snap/core20/1405
/dev/loop4 71M 71M 0 100% /snap/lxd/21029
/dev/sda2 1.5G 106M 1.3G 8% /boot
/dev/loop5 68M 68M 0 100% /snap/lxd/22753
tmpfs 1.6G 0 1.6G 0% /run/user/1000
/dev/loop6 45M 45M 0 100% /snap/snapd/15534
Answer the question
In order to leave comments, you need to log in
63G /
1.5G /boot
I suppose, there is also a swap partition, only df does not show it (run the swapon command without arguments to see the size of the swap)
Moreover, it is not clear whether 70 GB or 70 GiB were allocated
1000*1000*1000*70 == 1024*1024*1024*65.192580223
So no, there's nothing left even for swap, just 0.5G on EFI and everything converges to zero.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question