Date: Wed, 9 Nov 2005 15:57:50 -0800 From: Danny Howard <dannyman@toldme.com> To: user <user@dhp.com> Cc: freebsd-questions@freebsd.org Subject: Re: how do I tell FreeBSD to sync, for real ? Message-ID: <20051109235750.GF72876@ratchet.nebcorp.com> In-Reply-To: <Pine.LNX.4.21.0511081630280.8180-100000@shell.dhp.com> References: <Pine.LNX.4.21.0511081630280.8180-100000@shell.dhp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 08, 2005 at 04:34:04PM -0500, user wrote: > > Sometimes you delete a large batch of files, or you do some other serious > FS operations and the output of `df` does not tell you immediately of the > new disk space, etc. > > If you run something like: sync > > Or even: sync ; sync user, can you describe a reproducible phenomenon? Did you delete something from /var/log and you're waiting for df to reflect that? This is a common one ... if a process has a filehandle open, and you delete the file, the blocks on disk are not freed until the process closes that filehandle. If this is what's thwarting you, check out lsof. :) Cheers, -danny -- http://dannyman.toldme.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051109235750.GF72876>