[Mageia-dev] df lying?
Colin Guthrie
mageia at colin.guthr.ie
Mon Jan 7 11:56:52 CET 2013
'Twas brillig, and Felix Miata at 07/01/13 06:40 did gyre and gimble:
> What is upstream for df command?
rpm -qf `which df`
coreutils-8.20-1.mga3
So http://www.gnu.org/software/coreutils/ I guess.
> In openSUSE 12.2, Cauldron & F18 on the
> same 64 bit system, df on the only partition on my 1TB data HD is
> obviously lying as to usage and free on a nearly full EXT2 partition:
>
> # df # before copy
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sdb1 968990412 942397904 26592508 98% /disks/esata
>
> -rw-rw-r-- 1 5548561312 Jan 6 14:59 monk0714IonE-201301061400s2.ts
> -rw-rw-r-- 1 5548200540 Jan 6 15:59 monk0715IonE-201301061500s2.ts
> -rw-rw-r-- 1 5548657192 Jan 6 16:59 monk0716IonE-201301061600s2.ts
> -rw-rw-r-- 1 5547676772 Jan 6 17:59 monk0801IonE-201301061700s2.ts
> -rw-rw-r-- 1 5546660256 Jan 6 18:59 monk0802IonE-201301061800s2.ts
> -rw-rw-r-- 1 5547738436 Jan 6 19:59 monk0803IonE-201301061900s2.ts
> -rw-rw-r-- 1 5548427644 Jan 6 20:59 monk0804IonE-201301062000s2.ts
>
> # df # after copying above 37,925,705K bytes in 7 files to
> # # /disks/esata from another system on the network
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sdb1 968990412 942397904 26592508 98% /disks/esata
>
> Unless this is a bug in df, how is this lack of info possible given the
> following filesystem info (e.g., no reserved blocks, and no journal)
> about the partition?
Could be a kernel issue I guess. I dunno. Perhaps Thomas will know?
Col
--
Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the Mageia-dev
mailing list