How to find the true amount of usable free hard drive space?
I am using Linux Mint 17.3 Rosa Cinnamon.
I would like to know the actual amount of usable space I have left on my hard disk, that I can use store files. The file manager Nemo says I have 5.4gb. Disk Usage Analyser says I have 30.3gb. Something called "Disks" says I have exactly 30gb. Question please: What is the reliable console command that I can use to find the amount of usable hard drive space I have left? I think my HD is nearly full, so only Nemo is likely to be correct. Before I removed some large files, I kept getting low disk space warnings. Thanks. |
did you try the command df already?
|
if not installed install gparted it is accurate. gnome disk which is probably what you mean by disk counts EVERYTHING, including the space use to create the file system. so it is inaccurate.
|
Command line.
Code:
df -h |
it also depends on the filesystem and the user
for example, by default ext4 reserves 5% space for root, so a root account will see more free space than a "normal" account These days that 5% is a considerable chunk of space The fact is, when people refer to one thing not accurately reporting the free space they are just getting confused |
Quote:
i've done the numbers to many times to count(pun intended)and ext4 JUST like ntfs takes 7% for the file system. |
Quote:
man mkfs.ext4 Code:
-m reserved-blocks-percentage your numbers mean nothing to me |
Quote:
One does need to know which files are where, of course. On this desktop, for example: Code:
# df -Th So, besides knowing how much free space is in each partition, one also needs to understand what each partition contains. |
Quote:
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
Disk Usage Analyser. it has everything to do with the OP it is similar to this thread https://www.linuxquestions.org/quest...ve-4175659919/ |
Quote:
Quote:
As I and others have already responded, that "reliable console command" is df. |
Quote:
both nemo and Disk Usage Analyser are correct https://www.linuxquestions.org/quest...ve-4175659919/ I assume the fs is ext4 and has the default 5% reserved for root you can release some of that reserved space so nemo will "see" more free space using [code]tune2fs -m1 /dev/sda6[code] that will change the reserved blocks to 1% for /dev/sda6 /dev/sda6 is just an example, you need to use the correct block device |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 01:25 PM. |