On Tue, Nov 26, 2002 at 08:56:26PM -0600, Alan Jackson wrote: >I'm at my wit's end. A runaway vim process filled up my disk, and I can't >figure out *where*. I had cleared space a few days ago, and then it filled up >again, when I found and killed the gvim zombie. I get quite different >answers from different tools as well : > >df tells me I've used 36 Gbytes, that is, the whole disk. >Filesystem 1k-blocks Used Available Use% Mounted on >/dev/hdb1 38464340 36316120 194316 100% /home
>But when I try to find where it has gone with du, > >du -k /home yields : > > 5708312 . > > total kb, or 6 Gb. Where is the other 30? Have you rebooted the machine? There may be files you can't see that have been removed so don't appear in an ``ls'' listing, but are still there because some process has them open. The first places I look when out of space on the root file system are in /tmp, /var/tmp, /var/log, /var/spool, and /dev (frequently there will be a huge file like /dev/sto where somebody mistyped /dev/st0 creating a file instead of a tape). Next ``cd'' to a directory on a file system with some free space and try:``find /fullsystem -xdev -type f -size +500 > tmpfile. This will give you a list of large files, and you will probably find the culprit there. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``The fact is that the Constitution was indended to protect us from the government, and we cannot expect the government to enforce it willingly'' -- Dave E. Hoffmann, Reason Magazine March 2002 _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
