From owner-freebsd-stable Sun Mar 16 14:57:37 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDD2537B401 for ; Sun, 16 Mar 2003 14:57:33 -0800 (PST) Received: from im2.sec.tds.net (im2.mail.tds.net [216.170.230.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id B897C43F93 for ; Sun, 16 Mar 2003 14:57:32 -0800 (PST) (envelope-from rpclark@tds.net) Received: from x2.trapdoor.org (smga2dsl-a115.ga.tds.net [66.222.52.115]) by im2.sec.tds.net (8.12.8/8.12.3) with SMTP id h2GMvV69000577 for ; Sun, 16 Mar 2003 16:57:31 -0600 (CST) Date: Sun, 16 Mar 2003 18:00:13 -0500 From: Rob Clark To: freebsd-stable@freebsd.org Subject: Root filling up (((du & df giving different results))) Message-Id: <20030316180013.61be4469.rpclark@tds.net> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry for first post to group, believe I addressed it incorrectly. ================================================================== Version: 4.8-RC FreeBSD 4.8-RC #0: Sat Mar 15 03:38:38 EST 2003 Issue: Root filling up (((du & df giving different results))) Greetings, Recently I've noticed a significant increase in the "Capacity" of "/" using df. However using "du" commands as shown below gives conflicting results with that of "df". i.e., # du -kx / | sort -nr | head -20 45959 / ... # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 128990 105842 12830 89% / ... I've searched through "/" in a desperate attempt to locate a file(s) that would have contributed this. I tried copying over a file larger than 13M to the "/" since finding this, this test failed because of lack of space in "/". So whether or not the "df" & "du" results conflict, the system is believing the "/" is almost full. This began on February 24 once I had cvsupped and built world to 4.7-PRERELEASE. Cvsupping and building world to the 4.8-RC resulted in no help, and of course increased it 4%, up from 85%, with the .old files in "/". At this point I'm baffled, any help, hints, clues, or commands would be greatly appreciated to find this invisible/missing file space...or any other spells or concoctions. Clear Skies, Rob Commands tried: # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 128990 105842 12830 89% / /dev/ad0s1f 257998 1188 236172 1% /tmp /dev/ad0s1g 7125722 3677522 2878144 56% /usr /dev/ad0s1e 257998 53310 184050 22% /var /dev/ad1s1e 76926344 32235684 38536554 46% /data procfs # du -kx / | sort -nr | head -20 45959 / 12440 /sbin 6332 /modules 6306 /modules.old 4122 /bin 3370 /stand 1366 /etc.old 1366 /etc 544 /boot 290 /etc/mail 290 /etc.old/mail 176 /stand/modules 134 /etc/ssh 134 /etc.old/ssh 120 /root 118 /etc/periodic 118 /etc.old/periodic 114 /etc/defaults 114 /etc.old/defaults 94 /stand/help # du -s -h * 6.0K COPYRIGHT 4.0M bin 544K boot 2.0K cdrom 2.0K cdrom1 0B compat 31G data 68K dev 68K dev.old 2.0K dist 1.3M etc 1.3M etc.old 0B home 2.0K iso 3.0M kernel 3.6M kernel.GENERIC 3.0M kernel.old 2.0K mnt 6.2M modules 6.2M modules.old 23K proc 120K root 12M sbin 3.3M stand 0B sys 1.2M tmp 3.5G usr 52M var # ls -B .cshrc data kernel sbin .profile dev kernel.GENERIC stand COPYRIGHT dev.old kernel.old sys bin dist mnt tmp boot etc modules usr cdrom etc.old modules.old var cdrom1 home proc compat iso root # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message