DragonFly BSD
DragonFly kernel List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Re2: out of inodes... new install


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Fri, 6 Aug 2004 10:47:42 -0700

On Fri, 6 Aug 2004 10:28:07 -0700 (PDT)
Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx> wrote:

>     Ok, I reproduced the problem on a SCSI disk using the installer. 
>     The problem is that the installer is using a fragment size of 4K
>     instead the 2K it should be using.  e.g. it should be using 1K/8K
>     or 2K/16K, but not 4K/16K.
> 
>     The default bytes/inode is set (4 * fragment_size), so with 4K
>     fragments only *half* the number of inodes are created that would
>     normally be created.
> 
>     I think this is an installer issue.  newfs does not create 4K/16K
>     filesystems by default.

For getting the default fragsize/blocksize in the installer, I followed
disklabel's man page, which states:

     fsize   For 4.2BSD and LFS file systems only, the fragment size.
             Defaults to 1024 for partitions smaller than 1GB, 4096 for
             partitions 1GB or larger.

     bsize   For 4.2BSD and LFS file systems only, the block size. 
             Defaults to 8192 for partitions smaller than 1GB, 16384 for
             partitions 1GB or larger.

I take it that "4096" is a typo (size-o?) in the man page?

At any rate there is a way to change this in the installer - in "Create
Subpartitions", select "Switch to Expert Mode" and you can change the
fragsize and blocksize to anything you like.

-Chris



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]