On Thu, 30 Mar 2006 18:37:21 -0800 Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> On Fri, 31 Mar 2006 02:13:03 +0100 > Nick Boyce <[EMAIL PROTECTED]> wrote: > > > I've just done a fresh install of Sarge 3.1r1 on an 8Gb partition on > > an i386 machine here, basic packages only (no "tasks"), and on > > checking space usage before proceeding I'm somewhat bemused by the > > fact that du and df radically disagree on how much space has been used > > so far. > > do you have any nfs or smb mounts that du might be counting? any other > mounted partitions that might show up in du that you're not thinking of? did > you mount some other partition as /home for example? > > just a hunch. > > A > > > > > In *single-user* mode : meh. guess I missed that part. so probably no network shares eh? still, is that you're compelte df output below? A > > > > # df > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/hda8 8354340 343808 7491140 5% / > > > > # du -sk / > > 835383 > > > > df says ~340Mb used > > du says ~830Mb used > > that's quite a difference .... > > > > Googling just comes up with these threads : > > http://lists.debian.org/debian-user/1999/12/msg01729.html > > df and du disagree > > > > http://lists.debian.org/debian-user/2000/03/msg00670.html > > [bug?] df and du -s output inconsistent? > > > > And the only suggestion in either one that makes any sense is that the > > difference is explained by the space in the filesystem reserved for > > root-only use. This is shown as 104823 4096-byte blocks : > > > > # tune2fs -l /dev/hda8 > > ... > > Block count: 2096474 > > Reserved block count: 104823 > > ... > > Block size: 4096 > > ... > > > > Reserved space = 104823 * 4Kb = 419292 Kb > > > > But 419292 + 343808 (from df) = 763100 != 835383 (from du) > > > > It's roughly right, but ~70000 Kb is still missing. > > > > Does anyone think the reserved space is indeed the explanation ? > > I'd just like to know, before I go too much further with this > > installation, that there isn't something horribly wrong .... > > > > Perhaps there _is_ a bug after all, that I should report. > > > > TIA > > Nick Boyce > > Bristol, UK > > -- > > /* affect != effect */ void affect(int *thing,int effect) { *thing += > > effect; } > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > >
pgpEzEsxTdziW.pgp
Description: PGP signature