HDD free space
Jeremy Chadwick
koitsu at FreeBSD.org
Mon Jul 21 10:43:20 UTC 2008
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 |
More information about the freebsd-hardware
mailing list