My post ended up being so large that Discord put it in a text file. I tried to provide as much info as I can regarding my problem, system information (hardware and software), and the steps I have attempted to try and solve the problem. I am relatively new to Linux, so maybe I am missing something obvious or made a dumb mistake somewhere along the way when installing Arch, though it should be noted that the second SSD was installed after Arch/Windows was set up.
#[SOLVED] Incorrect Drive Capacity Being Reported | Arch Linux, KDE Plasma
21 messages · Page 1 of 1 (latest)
What does df -h say?
I see, the "missing" 200GB on your 4TB drive is ext4's 5% reserved block space on a 3.6TB drive that's ~180GB.
The root partition showing 7.7 GiB in Dolphin is just a Dolphin display bug, your df output confirms it's perfectly fine.
Check sudo tune2fs -l /dev/nvme1n1p1 | grep -E "Reserved block|Block count|Block size"
200GB just for block space seems like a an awful lot though I'm actually not certain what it's for. And how come Nemo and the live Mint ISO report the drive as completely empty if that's the case?
your
dfoutput confirms it's perfectly fine
but it is also saying 7.6G, not just dolphin
5% made sense when drives were small, but on multi-TB drives it's absurd.
On a 3.6TB drive it's ~180GB of wasted space for a feature you'll never need on a data drive.
Output of sudo du -sh /run/media/luci/5bb01eb3-8f08-4797-bc30-45f95a20fa20/?
what actually is "block size" anyway? what is it setting aside the space for? if i don't need it on a data drive then can i get rid of it? and why did it show up as fully empty in the live Mint env? sorry for all the questions in a row i'm just trying to make sense of this all. i mainly wanna store games on this thing
here's that sudo du -sh /run/media/luci/5bb01eb3-8f08-4797-bc30-45f95a20fa20/ output (i mounted to a different directory):
Run sudo tune2fs -l /dev/nvme1n1p1 | grep -i reserved
What are blocks? Filesystems don't store data byte-by-byte, they divide the disk into fixed-size chunks called blocks (usually 4KB each). Every file occupies a whole number of blocks even if it doesn't fill the last one. "Block size" is just that chunk size.
And to answer your other question. What is the reserved space actually for? It's not reserving blocks for any specific purpose, it's literally just keeping them off-limits to normal writes, so that if your disk fills up completely, the root user (and system processes running as root) can still write to it. Prevents things like logging and package managers from breaking on a full disk. On a root partition this matters. On a games drive it's completely useless.
thank you for answering my questions, that makes sense
alpha_b_9 received a thank you cookie!
definitely sounds useless on the game drive for sure
@hushed pebble i have reclaimed the reserved block space and now all the space on the drive is useable again. the shit with my other drive showing as 7.7GiB is kind of weird but is not affecting my ability to use it so I am going to mark this thread as solved. thank you for your help.
alpha_b_9 received a thank you cookie!