A puzzling problem: Gparted and my file manager disagree about how much empty space there is on my harddrive.
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Western Oregon now, moving south later this year.
Distribution: New Laptop, Linux dual boot: Mint 19, Debian 10. Old Laptop: Debian 10
Posts: 10
Rep:
A puzzling problem: Gparted and my file manager disagree about how much empty space there is on my harddrive.
I don't think I've ever asked a question on Linux Questions before. I hope I am doing it right. I've attached a file to show the problem, although right now it seems more of a mystery than a problem.
I'm currently running Mint 19. I'm more familiar with Debian but Debian stopped maintaining rednotebook.
Anyway, what I noticed today is that Gparted and the Mint file manager disagree about how much free space there is on my harddrive, by about 19 gb. I would really like to know why.
Technically they are both correct. ext4 by default when it is formatted reserves 5% for root which is supposed to reduce fragmentation and allow root to login when the filesystem becomes full.
380GB * .05 = 19GB. Gparted shows the total free space including reserved but the file manager does not. If you look at the output of the df -h command it is also missing the reserved space. You can safely reduce the amount of free space to like 1% if you need to free some up.
Last edited by michaelk; 08-27-2019 at 08:13 PM.
Reason: typo
Are you sure that the files displayed in the file manager window are on the same filesystem as /home?
I'd compare that to the output of the df -h command, which shows free space in all mounted file systems.
To be honest, I don't know where the two tools, gparted and the file manager, get their information from. You could be looking at a bug, or two different ways to calculate file system usage.
EDIT: Thanks to michaelk this is resolved, I think. There are indeed two ways to calculate free space.
Last edited by berndbausch; 08-27-2019 at 06:57 PM.
I would have to guess at partial files with holes
gparted looks at the allocated , and the file manager is looking at the 'when complete' file size.
that is just a wild guess, I don't know if ether actualy behave like that.
do you have any downloads that have not finshed yet?
Location: Western Oregon now, moving south later this year.
Distribution: New Laptop, Linux dual boot: Mint 19, Debian 10. Old Laptop: Debian 10
Posts: 10
Original Poster
Rep:
Hey, that was fast guys, thanks very much. I figured it was probably harmless like that, but I thought I should find out for sure. Now that I know how easy it is to ask a question, and how quick you guys are to answer, I just might ask another question. Thanks again.
[edit] To answer the question about files downloading, no, that was the first thing I thought of. I would like to point out that I am not a newbie. I am not an expert, but I generally get by and have been using Linux for 10 years now.
Last edited by g_s; 08-27-2019 at 07:05 PM.
Reason: add text
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.