NetBSD Problem Report #47756

From www@NetBSD.org  Sun Apr 21 15:38:07 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 9E98D63F3AB
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Apr 2013 15:38:07 +0000 (UTC)
Message-Id: <20130421153806.D62E163F3AB@www.NetBSD.org>
Date: Sun, 21 Apr 2013 15:38:06 +0000 (UTC)
From: 7heo@7heo.tk
Reply-To: 7heo@7heo.tk
To: gnats-bugs@NetBSD.org
Subject: Not enough inodes to extract the pkgsrc tree with sysinst
X-Send-Pr-Version: www-1.0

>Number:         47756
>Category:       install
>Synopsis:       Not enough inodes to extract the pkgsrc tree with sysinst
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 21 15:40:00 +0000 2013
>Last-Modified:  Sun Apr 21 20:45:02 +0000 2013
>Originator:     7heo
>Release:        6.1_RC2
>Organization:
>Environment:
NetBSD  6.1_RC2 NetBSD 6.1_RC2 (GENERIC) amd64
>Description:
When formatting the / with enough space (1GB) for a minimal selection of sets + pkgsrc; the extraction of pkgsrc fails, saying: not enough space, ran out of inodes (or a similar message).

Affects 6.0 and 6.0.1 as well. Not tested with -current.
>How-To-Repeat:
Install NetBSD using sysinst, set 1GB as the size of /, try to "fetch and unpack" pkgsrc.
>Fix:
Choose a smaller size for /, like 950MB. Since the message is "not enough space" it might seem dumb to do so; but the density of inodes is greater when the size is less than 1000MB (I found this info in the guide if my memory is good);

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47756: Not enough inodes to extract the pkgsrc tree with sysinst
Date: Sun, 21 Apr 2013 21:22:57 +0200

 I don't think this should be solved at the sysinst level - if you manually
 create a 1 GB FS (w/o any special newfs options), can you extract pkgsrc
 on that fs?

 Note that you can deal with more inode in the partiton options menu by
 selecting a different "avg file size" which translates to the -i option
 of newfs:

      -i bytes-per-inode
                  This specifies the density of inodes in the file system.  If
                  fewer inodes are desired, a larger number should be used; to
                  create more inodes a smaller number should be given.  The
                  default is to create an inode for every (4 * frag-size) bytes
                  of data space:

                        file system size  bytes-per-inode
                        < 20 MB           2 KB
                        < 1000 MB         4 KB
                        < 128 GB          8 KB
                        >= 128 GB         16 KB


 Martin

From: 7heo <7heo@7heo.tk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47756: Not enough inodes to extract the pkgsrc tree with
 sysinst
Date: Sun, 21 Apr 2013 22:43:12 +0200

 On 04/21/2013 09:25 PM, Martin Husemann wrote:
 > The following reply was made to PR install/47756; it has been noted by GNATS.
 >
 > From: Martin Husemann<martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: install/47756: Not enough inodes to extract the pkgsrc tree with sysinst
 > Date: Sun, 21 Apr 2013 21:22:57 +0200
 >
 >   I don't think this should be solved at the sysinst level - if you manually
 >   create a 1 GB FS (w/o any special newfs options), can you extract pkgsrc
 >   on that fs?
 No, same problem, I've tried that a few weeks ago, but if my memory is 
 good, specifying the density of the inodes was required to have enough 
 inodes, with the exact option you are mentioning directly below (this 
 man was, if it wasn't the guide, where I found the information 
 concerning that inode density).
 >    Note that you can deal with more inode in the partiton options menu by
 >   selecting a different "avg file size" which translates to the -i option
 >   of newfs:
 >
 >        -i bytes-per-inode
 >                    This specifies the density of inodes in the file system.  If
 >                    fewer inodes are desired, a larger number should be used; to
 >                    create more inodes a smaller number should be given.  The
 >                    default is to create an inode for every (4 * frag-size) bytes
 >                    of data space:
 >
 >                          file system size  bytes-per-inode
 >                          <  20 MB           2 KB
 >                          <  1000 MB         4 KB
 >                          <  128 GB          8 KB
 >                          >= 128 GB         16 KB
 >
 >
 >   Martin
 >

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.