9

I have increased the size of the partition of my Pop_OS installation (/nvme0n1p4) from 128 GB to 650 GB using Gparted (from the live USB stick). I have set it exactly to 650 GB.

But in Pop_OS I now have the problem that I am shown three different sizes:

  • The command fdisk -l tells me that the partition has a size of 634.8 GB.
  • The app "disks" tells me that the partition has a size of 682 GB.
  • The app "Stacer" tells me the partition has a size of 624.2 GB.

I am now a bit confused and would like to ask you if anyone knows a solution or can at least tell me which indication is correct. I mean, if this indication is wrong, is the information at all correct, how much space of the SSD is already used? I also see different specifications there...

top 5 comments
sorted by: hot top controversial new old
[-] Vlyn@lemmy.world 7 points 1 year ago

That's really weird. But I can explain one value there:

You set it to 650 GB (1000 bytes), fdisk might show you GiB (1024 bytes) though. Which would be 634.8 GiB.

It's the same as you buying a 1 TB disk and you only get a 977 GB partition out of it.

No clue about your other apps though, sorry.

[-] humanenough@lemm.ee 0 points 1 year ago
[-] el_fredo@discuss.tchncs.de 5 points 1 year ago

Thanks for pointing me into this direction.

When I use an online calculator to convert Gibibytes to Gigabytes, I get this result: 634.8 GiB are 682 GB. So, exactly the size that the Gnome-Disk-Utility shows.

The App Stacer tells me 624.2 GiB. When I convert this into Gigabytes, I get 670.3 GB. This size is also shown in the Pop_OS file manager.

So, in conclusion:

  • fdisk command and Gnome disk utility are showing 634.8 GiB / 682 GB.
  • Stacer and file manager are showing 624.2 GiB / 670.3 GB.

One step closer... Now I just need to figure out why two apps are showing too less storage space compared to the other ones.

[-] jadero@lemmy.sdf.org 2 points 1 year ago* (last edited 1 year ago)

Could it be that Stacer and file manager are somehow reporting usable space instead of "absolute" space.

I recall from the early days that there was overhead in the process, so that useable space was always less than formatted space. Perhaps that is still the case.

[-] el_fredo@discuss.tchncs.de 1 points 1 year ago

Yes, that can be. I also remembered that I had created a swap file. Maybe that is deducted from the available space. That also makes sense, because the swap file is not usable space.

But my swap file is 16 GB. And no matter if I calculate with 16 GiB or 16 GB, I don't get the displayed partition space.

this post was submitted on 05 Aug 2023
9 points (90.9% liked)

Pop!_OS (Linux)

5062 readers
34 users here now

Pop!_OS is an operating system developed by System76 for STEM and creative professionals who use their computer as a tool to discover and create. Unleash your potential on secure, reliable open source software. Based on your exceptional curiosity, we sense you have a lot of it.

Unleash your potential

Whether this is your first experience with Linux, or your latest adventure, all are welcome to discuss and ask questions about Pop!_OS and COSMIC. Keep the discussions friendly though, and remember to assume good intentions whenever you reply. We're all here because we have a shared love for Linux and open source software.

System76 Logo

Support us by buying System76 hardware for you or your company! Or by donating on the Pop!_OS website through the "Support Pop" button. Pop!_OS and COSMIC are fully funded by System76 hardware sales. All systems are assembled in the USA. With your support, we'll work to push the Linux desktop forward with COSMIC.

Links

Guides

Hardware

Recommended

Community Rules

Follow the Code of Conduct

All posts on pop_os must adhere to the Pop!_OS community Code of Conduct. https://github.com/pop-os/code-of-conduct

Be helpful

Posts to pop_os must be helpful. When responding to a user asking for help, do not provide tongue-in-cheek responses like "RTM" or links to LMGTFY. Linking to direct sources that answer the asker's question is fine, but it's advised to provide some explanation as to how you got to that source.

Critique should be constructive

We within the Pop!_OS community welcome helpful criticism or ideas on ways to improve. However, basic "It's bad" or other simple negative comments don't help anyone fix anything. When voicing a complaint about something, try to point out ways the complaint could be improved or worked around, so that we can make a better product for it.

This rule applies to both Pop!_OS and its projects as well as other products available from third-parties.

Don't post malicious "advice"

It can be funny to joke about malicious commands, however this is not the venue for it. Do not advise users to run commands which will lock up their systems, steal their data, or erase their drive. Examples of this include (but are not limited to) fork bombs, rm, etc.

Posts violating this rule will be removed, even if the post is clearly in jest. Repeated offences may lead to a ban. You may understand that the command isn't serious, but a new user might not.

No personal attacks

Posts making a personal attack on any user will not be tolerated.

No hate speech

Hate speech of any kind will not be tolerated. Any violations will be removed, and are grounds for a ban.

founded 1 year ago
MODERATORS