You are not logged in.
Pages: 1
I am facing a strange issue, the disk usage information displayed by df command, thunar and pcmanfm are not identical. All of them show diffrent result for a same partation. Below is the screenshot which will shed some light on the issue. Thanks
Offline
I have the same discrepancy on my system, every source seems to be providing different estimates. My /home partition for example:
df -h - 125GB free out of 407GB
Gparted - 145GB free out of 413GB
Conky - 145GB free out of 407GB
Thunar - 124GB free out of 443GB
PCManFM - 134GB free out of 437GB
They could all be wrong for all I know.
Offline
A man with two watches is never sure what time it is!
It depends on how each app reads data and what is displayed from the data it reads.
My drive (inxi)
28 Jun 14 | 11:50:27 ~
$ hdd
Drives: HDD Total Size: 500.1GB (13.0% used) ID-1: /dev/sda model: WDC_WD5000AAKX size: 500.1GB
Optical: /dev/sr0 model: HL-DT-ST DVDRAM GSA-H10L dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 48x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram
28 Jun 14 | 11:50:51 ~
$ But gparted tells me: 465.76GB
Now to ~/home/sector11
thunar - /home = 16.3GB Free - - - Used: 174.7MB
gparted - /home = 20GB - - - Used: 2.69 Free: 17.31
pcmanfm - /home = 21.1GB Free 17.5GB
df -h - /home = 20G 2.4G 17G 13% ---- 20-2.4 = 17 ??? 13% used hmmmmmmmm
As far as conky goes - it even conflicts with itself:
19.7 - 16.3 = 3.4 not 2.38
and 82% + 12 % = 94% - where is the other 6% ???
OK ... that was fun ... "du" will give you a hint:
28 Jun 14 | 12:40:41 ~
$ df -h /home
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 2.4G 17G 13% /home
28 Jun 14 | 12:40:57 ~
$ du -d 0 -h /home/
du: cannot read directory `/home/.Trash-0': Permission denied
du: cannot read directory `/home/lost+found': Permission denied
2.3G /home/
28 Jun 14 | 12:41:07 ~
$ A couple of links to point in the right direction:
Why command df and du reports different output?
ext4 partition size / free space discrepancies
My search box: Linux Why are partition sizes reported differently in different apps
Online
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.