Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2009 12:38:37 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Luke Dean <LukeD@pobox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to recover disk space after "filesystem full"
Message-ID:  <444ovdw0s2.fsf@lowell-desk.lan>
In-Reply-To: <alpine.BSF.2.00.0905220853530.55458@border.lukas.is-a-geek.org> (Luke Dean's message of "Fri\, 22 May 2009 09\:14\:22 -0700 \(PDT\)")
References:  <alpine.BSF.2.00.0905220853530.55458@border.lukas.is-a-geek.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Luke Dean <LukeD@pobox.com> writes:

> Yes, it sounds like a stupid question, but let me tell the story.
>
> The log for my dhcp server filled up /var last night, which meant that
> dhcpd was also unable to hand out new leases, which meant that I had
> effectively been DOSed.  I'll have to look into changing my logging
> policies.
>
> So, to correct the problem, I log into the router, removed the big
> log and several other files in /var to free up some space, and assumed
> this would correct the problem.
>
> It did not.
> Several minutes after freeing up a lot of space on /var, I continued
> to get "filesystem full" messages and "df" continued to show the
> capacity at >100%.  I checked "df -i" for the inodes too.  That was
> fine.  I ran a quick fsck to see if that might shock the system into
> seeing all the space that I'd freed up, but no good.
>
> I ended up rebooting the box.
>
> Was there any other possible solution I could've tried?
>
> Why wouldn't the free space immediately appear as free?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444ovdw0s2.fsf>