Star Hype News.

Premium celebrity moments with standout appeal.

updates

Why Disk utility shows different size than df -h?

By Sophia Hammond

I have a hard time understanding what's going on with the space I have left in my laptop's SSD. The SSD's size is 256 GB, and my OS is Ubuntu 18.04.5 LTS. When I installed Ubuntu, I used LVM and LUKS for encryption. It has only one Volume Group, and within it there are two Logical Volumes: 254 GB for the Filesystem Root including the home directory, and 1 GB for swap.

The problem I have is that in the disk utility, it says that there are 18 GB free for root.enter image description here

But if I right click on the home folder, and look in the Properties, it says I only have 4.8 GB free. enter image description here

And if I right click in the root folder, and look in the properties it says that 231.6 GB are used, and 4.8 GB are free, which doesn't add up to the 255 GB that I'm supposed to have in that Logical Volume; moreover, the pie chart shows a grey area that's not included in the used nor the free space, and is bigger than the free space.enter image description here

Also, the output of 'df -h' shows that the size of root is only 233 GB.enter image description here

So, how much free space do I really have left?

1

1 Answer

My guess is that the disk utility has a different method to calculate free space. It appears you have approximately 4.5GB of free space.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy