Date: Mon, 21 Jul 2008 03:43:20 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: ??????? ??????? <jeno.kiev@gmail.com> Cc: freebsd-hardware@freebsd.org Subject: Re: HDD free space Message-ID: <20080721104320.GA29382@eos.sc1.parodius.com> In-Reply-To: <f1eca1b20807210244v2a6614a4h6a044ddff046857c@mail.gmail.com> References: <f1eca1b20807210244v2a6614a4h6a044ddff046857c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 21, 2008 at 12:44:07PM +0300, ??????? ??????? wrote: > My problem: > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad6s1a 16G 13G 1.3G 91% / > devfs 1.0k 1.0k 0B 100% /dev > /dev/ad5s1d 727G 601G 68G 90% /usr/home/reliz > /dev/ad4s1d 484G 484G -39G 109% /usr/home/reliz/hdd6 > /dev/ad6s1d 468G 435G -5.1G 101% /usr/home/reliz/hdd2 > /dev/ad7s1d 387G 362G -5.9G 102% /usr/home/reliz/hdd5 > /dev/ad0s1d 242G 223G -752k 100% /usr/home/reliz/hdd4 > > line "/dev/ad4s1d 484G 484G -39G 109% > /usr/home/reliz/hdd6" why "-39G"? how can I get correct avail space?! This is often caused by either 1) softupdates, 2) minfree for root, or 3) some kind of filesystem corruption. You won't be able to do anything about the softupdates ordeal; running sync and waiting a few minutes (sometimes 3-4 minutes depending upon the size of data which is changing). You can use gstat to see what's going on behind the scenes I/O-wise. minfree you can tune via tunefs(8). Filesystem corruption should be dealt with by booting into single user and running fsck manually. Yes, I know FreeBSD has background fsck, but it's recently been explained to me that there are major caveats and issues with it. You can disable it in multiuser by using background_fsck="no" in /etc/rc.conf. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080721104320.GA29382>