From nobody@FreeBSD.org Fri Aug 16 08:01:51 2002 Return-Path: Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A83D937B4AC for ; Fri, 16 Aug 2002 08:01:51 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A6C43E9E for ; Fri, 16 Aug 2002 08:01:47 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7GF1lOT032328 for ; Fri, 16 Aug 2002 08:01:47 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7GF1lb6032327; Fri, 16 Aug 2002 08:01:47 -0700 (PDT) Message-Id: <200208161501.g7GF1lb6032327@www.freebsd.org> Date: Fri, 16 Aug 2002 08:01:47 -0700 (PDT) From: walter harms To: freebsd-gnats-submit@FreeBSD.org Subject: df reports wrong size X-Send-Pr-Version: www-1.0 >Number: 41712 >Category: misc >Synopsis: df reports wrong size >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 16 08:10:01 PDT 2002 >Closed-Date: Sat Aug 17 00:00:16 PDT 2002 >Last-Modified: Sat Aug 17 00:00:16 PDT 2002 >Originator: walter harms >Release: 4.6 alpha >Organization: bfs >Environment: alpha 2100a >Description: df reports a wrong size: offending line /dev/da0g 144100 1848 -3276 102% /usr >How-To-Repeat: no idea, /proc /var and / report correct sizes >Fix: >Release-Note: >Audit-Trail: From: "Artem 'Zazoobr' Ignatjev" To: walter harms , freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: misc/41712: df reports wrong size Date: Fri, 16 Aug 2002 19:25:47 +0400 On Fri, Aug 16, 2002 at 08:01:47AM -0700, walter harms wrote: > >Description: > df reports a wrong size: > offending line > > /dev/da0g 144100 1848 -3276 102% /usr While newfs(8)ing, some space (usually 8%) is reserved. If you carefully look into df(1) output, you'll note that slices are less then you thought you've done them. When space is going to finish, only root can use the reserved percents, resulting in negative free space and drive usage >100%. This is DOCUMENTED behaviour. Sinceherely yours, Artem 'Zazoobr' Ignatjev. State-Changed-From-To: open->closed State-Changed-By: schweikh State-Changed-When: Fri Aug 16 23:58:53 PDT 2002 State-Changed-Why: Not a bug. See also newfs(8)'s -m option. http://www.freebsd.org/cgi/query-pr.cgi?pr=41712 >Unformatted: