Subject: Re: inodes/data blocks etc
To: None <prlw1@cam.ac.uk>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 09/21/1999 10:16:02
On Tue, 21 Sep 1999, Patrick Welche wrote:
> # newfs /dev/rsd0a
> Warning: inode blocks/cyl group (144) >= data blocks (132) in last
> cylinder group. This implies 2120 sector(s) cannot be allocated.
> /dev/rsd0a: 203520 sectors in 96 cylinders of 10 tracks, 212 sectors
> 99.4MB in 6 cyl groups (16 c/g, 16.56MB/g, 3584 i/g)
> super-block backups (for fsck -b #) at:
> 32, 34176, 68320, 102464, 136608, 170752,
>
> # size offset fstype [fsize bsize cpg]
> a: 205640 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 96)
>
> Normally at times like these, I increase fsize/bsize until the warning goes
> away, but I don't understand exactly what I am doing... If I have 132 data
> blocks at 8192 bytes each, I use 2112 sectors, so 8 sectors are left for
> ?inodes? ?fragmentation? 8 is less than 1 per track (10 tracks)? What should
> I be doing?
That won't help at all. To get that last ~1M, you may be able to
modify the geometry in the disklabel. Choose a sectors/cylinder that
evenly divides total sectors (205640), and also factors nicely into
sectors/cylinder and tracks/cylinder. Also recompute # cylinders.