From owner-freebsd-questions@FreeBSD.ORG Tue May 26 13:55:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 590471065670 for ; Tue, 26 May 2009 13:55:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 12C998FC18 for ; Tue, 26 May 2009 13:55:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx02.qsc.de (Postfix) with ESMTP id 9346116C069F; Tue, 26 May 2009 15:55:46 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n4QDtedC002016; Tue, 26 May 2009 15:55:40 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 May 2009 15:55:40 +0200 From: Polytropon To: Ivailo Tanusheff Message-Id: <20090526155540.557854df.freebsd@edvax.de> In-Reply-To: References: <20090526151024.2548fd4e.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, n ramrani Subject: Re: df -h returns negatives values X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 13:55:48 -0000 On Tue, 26 May 2009 16:47:15 +0300, Ivailo Tanusheff wrote: > If that was the case it would say something like 108%, not -83%. Yes, this makes it really strange. I didn't recognize it at first sight, because of the missing header: Filesystem Size Used Avail Capacity Mounted on /dev/aacd0s1d 2.9G -2.2G 4.9G -83% /var Another thing that I recognize right now is the device name - aacd0s1d - which refers to the "Adaptec AdvancedRAID Controller driver" (aac / d0 / s1 / d); maybe some disk data is reported wrong by the controller? Not much likely, too... > The other strange value is the used size -2.2G. > I see only 2 options: > - Buffer overflow of the command (not much likely) > - Problem with the data on the disk. This could be determined by running # du -sh /var and compare the "total" result to the size of the /var slice (/dev/aacd0s1d). In any case, a check in SUM with unmounted partition would be good, as you mentioned. > Maybe you should run fsck -fFyv /var -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...