From owner-freebsd-questions Fri Sep 3 12:44:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from broccoli.graphics.cornell.edu (broccoli.graphics.cornell.edu [128.84.247.53]) by hub.freebsd.org (Postfix) with ESMTP id 3069215DBC for ; Fri, 3 Sep 1999 12:43:26 -0700 (PDT) (envelope-from mkc@Graphics.Cornell.EDU) Received: from graphics.cornell.edu (localhost.graphics.cornell.edu) by broccoli.graphics.cornell.edu with ESMTP (1.37.109.16/16.2) id AA093357706; Fri, 3 Sep 1999 15:41:46 -0400 Message-Id: <199909031941.AA093357706@broccoli.graphics.cornell.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Steve Friedrich" Cc: "FreeBSD Questions" Subject: Re: df inconsistency In-Reply-To: Your message of "Fri, 03 Sep 1999 15:10:47 EDT." <199909031914.PAA21107@laker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 03 Sep 1999 15:41:45 -0400 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >df output on my system: >Filesystem 1K-blocks Used Avail Capacity Mounted on >/dev/wd1s1e 1113967 929244 95606 91% /usr > >Problem is that (total blocks) - (used blocks) does not equal >(available blocks) >1113967 - 929244 = 184723 = 83% > >95606/1113967 = 9% (so the inverse is 91%) > >So it appears that 89117 are "unavailable" but not counted as "used". This is intentional. The difference is called MINFREE and is the amount of space reserved from normal users. (After df says you're full, root can continue writing until you're really full.) See newfs(8) and tunefs(8) under -m minfree. The purpose if I remember correctly is to prevent the filesystem from becoming horribly fragmented and slowing to a crawl. >I don't currently have time to pursue this in source code. My daughter >died in a car accident in July and I'm trying to get Florida to bring >charges against the driver and her mother. And I moved back to >Kentucky and am actively looking for work. If no one else can answer >this, I'll get to it in a couple months... I'm sorry about your daughter. I lost a daughter a couple years ago myself. Time helps, a little. Knowing she's now in a better place and in good hands helps more. Someday I'll see her again... -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message