You are not logged in.
Pages: 1
Basically, the output of df -h for my /var differs from an ncdu -x /var and I can't figure out why. Seems to be a 146 meg discrepancy which I can't explain.
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 7.6G 351M 6.9G 5% /varncdu -x /var
--- /var ------------------------------------------------------------------------------------------------
122.9MB /log
76.8MB /lib
5.3MB /cache
160.0kB /run
80.0kB /spool
e 16.0kB /lost+found
12.0kB /tmp
4.0kB /games
e 4.0kB /local
e 4.0kB /lock
e 4.0kB /mail
e 4.0kB /opt
Total disk usage: 205.3MB Apparent size: 166.1MB Items: 16564Last edited by graysky (2009-08-13 00:01:22)
Offline
Internal filesystem stuff takes space.
What filesystem do you use?
Offline
It's ext4.. 146 megs of metadata?? Come to think of it. Gparted showed 146 megs used right after I formatted it. I thought it was an error and ran fsck on it but got a report of no errors so it must be real. I just can't explain it!
Last edited by graysky (2009-08-13 00:11:15)
Offline
Yeah, I presume it's journal.
Offline
Wow. 146 of metadata for a freshly formatted [empty] partition seems odd to me... ![]()
Offline
I guess it's not odd, it's like lucke says, it is filesystem related, file allocation tables, journal and whatnot take space ![]()
As far as I know all filesystems do this, some more than others but all do this.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Pages: 1