From: Joe R. Jah (jjah@sol.ccsf.cc.ca.us)
Date: Sun May 01 2005 - 13:36:19 EDT
P.S. Another option is possibley to unmount the file system and run fsck.
Thanks to Fonseca Mario <Mario.Fonseca@lbhf.gov.uk>
On Sat, 30 Apr 2005, Joe R. Jah wrote:
> Date: Sat, 30 Apr 2005 00:39:30 -0700 (PDT)
> From: Joe R. Jah <jjah@sol.ccsf.cc.ca.us>
> To: sunmanagers@sunmanagers.org
> Subject: SUMMARY: File system full, but not according to du;(
>
> Wow! That was quick;)
>
> Many thanks to:
>
> Mike Salehi <mike.salehi@kodak.com>
> "Mangat, Vicky" <Vicky.Mangat@centrica.co.uk>
> "Sjolshagen, Thomas (Tru64 UNIX Eng.)" <thomas.sjolshagen@hp.com>
> Rick Rezinas <rick@beerdrinker.org>
> Scott M. Sorrentino <scott@sorrentino.net>
> Michael Schulte <mike@babbage.cs.umsl.edu>
> Matthew Stier <Matthew.Stier@us.fujitsu.com>
> Iain Miller <iainonthemove@gmail.com>
>
> Original question:
>
> > Since early this morning one of my partitions have become full:
> >
> > # df /dptweb
> > Filesystem 1K-blocks Used Avail Capacity Mounted on
> > /dev/amir0d 25019863 23770030 -1161 100% /dptweb
> >
> > However:
> >
> > # du -s /dptweb
> > 6680278 /dptweb
> >
> > How can I resolve the problem.
>
> Michael's response is the most comprehensive, and doesn't need to be
> summarized;)
>
> On Fri, 29 Apr 2005, Michael Schulte wrote:
>
> > Date: Fri, 29 Apr 2005 13:58:05 -0500 (CDT)
> > From: Michael Schulte <mike@babbage.cs.umsl.edu>
> > To: jjah@sol.ccsf.cc.ca.us
> > Subject: Re: File system full, but not according to du;(
> >
>
> > The easy solution: reboot
> > The hard solution: find the process that is holding a deleted file open, and
> > kill that process.
> >
> > The problem is (very probably): when a file is deleted, the file space is
> > NOT recovered until all the processes that have the file open have
> > closed it (or died). Many system processes open a file when they start
> > and never close it; if someone deletes that file, the space is still
> > allocated.
> >
> > You notice the problem because df and du count the space differently.
> > Df counts space from the inodes (which gives all allocated space);
> > du follows the directory structure, so it only get file space accessible
> > by name.
> >
> > ---
> > Michael Schulte Specialist in Computer Science
> > Math/CS Dept. (MC-61) (314) 516 5239
> > Univ. of Missouri-St. Louis schulte@cs.umsl.edu
> > One University Boulevard http://www.cs.umsl.edu/~schulte
> > St. Louis, MO 63121 USA
Regards,
Joe
-- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jjah@sol.ccsf.cc.ca.us _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:38 EDT