NetBSD Problem Report #36646

From cheusov@tut.by  Sat Jul 14 07:29:23 2007
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5820A63B96E
	for <gnats-bugs@gnats.netbsd.org>; Sat, 14 Jul 2007 07:29:23 +0000 (UTC)
Message-Id: <s93y7hjjveq.fsf@chen.chizhovka.net>
Date: Sat, 14 Jul 2007 10:29:01 +0300
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: df -i shows a negative (random?) number of free inodes
X-Send-Pr-Version: 3.95

>Number:         36646
>Category:       kern
>Synopsis:       /bin/df -i shows negative number of free inodes for LFS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 14 07:30:00 +0000 2007
>Originator:     cheusov@tut.by
>Release:        NetBSD 4.0_BETA2
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
System: NetBSD chen.chizhovka.net 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #20: Wed Jun 20 19:58:12 EEST 2007 cheusov@chen.chizhovka.net:/srv/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
/bin/df -i shows a negative number of free inodes
for LFS partitions like this

0 ~>/bin/df -i /mnt/raid0      
Filesystem  512-blocks      Used     Avail Capacity  iused    ifree  %iused  Mounted on
/dev/raid0d 1053558302 107371030 840828860    11%       85 -457298453     0%   /mnt/raid0
0 ~>


More over, ifree field seems too big for other LFS partitions
0 ~>/bin/df -i /srv           
Filesystem  512-blocks      Used     Avail Capacity  iused    ifree  %iused  Mounted on
/dev/wd1f    136446146  40489500  82309088    32%   634424 391666168     0%   /srv
0 ~>

>Fix:

Unknown

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.