Ask Your Question

LVM/Filesystem Question (SOLVED)

asked 2018-06-11 01:18:00 -0500

djwolf gravatar image

updated 2018-06-17 00:27:24 -0500

I'm trying to figure out why the free space differs from when I look at the disks app to when I look at the files app. I'm relatively new to linux and I tried reading a tutorial on LVM but I couldn't figure this one out. Does anyone know why free space differs in these two contexts?

EDIT 1: I understand the difference between GB and GiB. But even if I convert 17 GiB to GB, it comes out to about 18 GB, not 29 GB. This is why I'm getting confused when I look at the files app. I'm trying to figure out where the files app is getting that extra 10+ GB from.

EDIT 2: After doing some research, I found that all of the sda2 device is full. This should not be the case. I haven't used up that much storage on my device. I've used up about 9 GB and sda2 is 20 GB. It's saying that I used up all of sda2 and most of sda3. These devices are both parents for my lvm. So now the question is, what's taking up so much storage and why isn't it being shown?

Thanks in advance - djwolfimage descriptionimage description

UPDATE-SOLVED: Plain and simple, I was being really stupid and I forgot to expand the file system after I added another partition.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2018-06-11 08:29:09 -0500

florian gravatar image

The difference you are seeing is because of the two different units GB (Gigabyte) and GiB (Gibibyte):

Here is a simple terminal command to look at free space: df

To display your free space in different units (same numbers as the two apps you are mentioning), compare:

df -h


df -H
edit flag offensive delete link more


Using these commands, I did some research. I found that the parents of my lvm are sda2 and sda3. The problem that I'm seeing is that sda2 is completely full for some reason. It shouldn't be full. I haven't used that much space. Also part of sda3 is used up for some reason. I've only used up about 9 GB not 18 or however much it's saying I used.

djwolf gravatar imagedjwolf ( 2018-06-12 02:00:25 -0500 )edit

can you add the output of lsblk to your question?

florian gravatar imageflorian ( 2018-06-12 08:22:14 -0500 )edit

answered 2018-06-11 06:49:21 -0500

villykruse gravatar image

In blivet-gui click on "fedora_localhost-live".

You got two levels of free space.
- The free space according to your disk partition table. - The free space inside the LVM partition.

Also remember the difference between Gib and Gb

17 Gib is equal to 102410241024*17 = 18253611008 bytes which is 18.3 Gb. Then you also get slightly different results depending on how you calculate the free and used space.

edit flag offensive delete link more


If I convert 17 GiB to GB, it comes out to about 18 GB. Not 29 GB. The files app says that I have 29 GB of free space, which is why I'm getting confused. I'm trying to figure out where it's getting that extra 10+ GB from.

djwolf gravatar imagedjwolf ( 2018-06-11 14:10:09 -0500 )edit

You got 18 GB out of the total 29GB free. That is: 29 GB total size and 18GB of those are free. It all fits quite nicely.

villykruse gravatar imagevillykruse ( 2018-06-11 14:44:21 -0500 )edit

My total drive size is 54 GB. Why is it that the system is only detecting 29 of them?

djwolf gravatar imagedjwolf ( 2018-06-11 16:01:07 -0500 )edit

What nautilus is showing there is the size of your / partition ("root partition"). The rest is probably allocated to your /home. You get a better sense of what's going on if you run the following commands:

  • sudo lvdisplay,
  • sudo vgdisplay

Another very useful one is: lsblk!

And last but not least you should look at the output of df -h, or df -H

florian gravatar imageflorian ( 2018-06-11 16:33:32 -0500 )edit

Is there a way I can see how much space my /home directory is taking up?

djwolf gravatar imagedjwolf ( 2018-06-12 00:51:39 -0500 )edit

answered 2018-06-11 21:14:10 -0500

cmurf gravatar image

The window is confusing to me as well so I filed a bug.

The short hand notation we is: A / B available / Written out longer form it's : A of B is available on / Where A is what's available (free space) and B is total size of the volume mounted at / On my system, this exactly squares with df. And the units and values are SI, not IEC so that part is also correct.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-06-11 01:18:00 -0500

Seen: 133 times

Last updated: Jun 17 '18