Date: Sun, 16 Mar 2003 18:00:13 -0500 From: Rob Clark <rpclark@tds.net> To: freebsd-stable@freebsd.org Subject: Root filling up (((du & df giving different results))) Message-ID: <20030316180013.61be4469.rpclark@tds.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030316180013.61be4469.rpclark>