From owner-freebsd-questions@FreeBSD.ORG Mon May 17 06:56:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B919416A4D7 for ; Mon, 17 May 2004 06:56:40 -0700 (PDT) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0084C43D2F for ; Mon, 17 May 2004 06:56:40 -0700 (PDT) (envelope-from anderson@centtech.com) Received: from centtech.com (neutrino.centtech.com [10.177.171.220]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id i4HDuYE8098891; Mon, 17 May 2004 08:56:34 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <40A8C477.80704@centtech.com> Date: Mon, 17 May 2004 08:56:07 -0500 From: Eric Anderson User-Agent: Mozilla Thunderbird 0.5 (X11/20040406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jerry McAllister References: <200405171345.i4HDjPr13526@clunix.cl.msu.edu> In-Reply-To: <200405171345.i4HDjPr13526@clunix.cl.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: nelis@8ball.co.za Subject: Re: Disk full / NFS, df, and du X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 13:56:40 -0000 Jerry McAllister wrote: >>Nelis Lamprecht wrote: >> >> >> >>>On Mon, 2004-05-17 at 05:04, Eric Anderson wrote: >>> >>> >>> >>> >>> >>>>The problem I'm having is, after they do the rm's, it doesn't free the >>>>disk space. df shows it still being used, but du claims their >>>>directories are empty. >>>> >>>> >>>> >>>> >>>Please see >>> >>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF >>> >>>..regarding this. Maybe a kill -HUP nfsd might help ? >>> >>> >>> >>> >>Actually, no. In fact, I just did a quick test, with a 500mb file, and >>as root, I deleted the 500mb, and my df doesn't report the newly freed >>space - I did this locally, with no NFS in the mix.. I have softupdates >>turned on, and quotas turned on (although I just recently turned on the >>quotas after having this problem, so that isn't causing problems).. >> >> > >How long after the rm did you do the df? I have noticed that there >is a time delay before df reports the updated disk statistics - in the >range of a minute or two. I think I read about it in a FAQ somewhere, >so, maybe the reference someone else posted will shed some light. > > This particular time I waited a few minutes, but I have waited 1.5 days for the other data to disappear. I end up rebooting the server, which ends up fsck'ing the disk with lots of unreferenced inodes or some such thing.. I get my space back, but a reboot is needed.. not good. Eric -- ------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Today is the tomorrow you worried about yesterday. ------------------------------------------------------------------