Help with newfs under SunOS 4.1.1: can't allocate sectors

Tim Ramsey tar at math.ksu.edu
Fri Jun 28 12:08:54 AEST 1991


I'm trying to partition a 1.2G (CDC Wren VII 94601-12G) SCSI drive that's
hanging off of a Sun4/330 running SunOS 4.1.1.  My new /usr partition will
be 600M (977 cylinders, 1200 blocks/cylinders).  When I invoke newfs I
get the following warning:

hilbert# newfs -v sd0g:
mkfs  /dev/rsd0g 1172400 80 15 8192 1024 16 10 59 2048 t 0 0 8 7
Warning: inode blocks/cyl group (140) >= data blocks (75) in last
    cylinder group. This implies 1200 sector(s) cannot be allocated.
/dev/rsd0g:     1171200 sectors in 976 cylinders of 15 tracks, 80 sectors
        599.7MB in 61 cyl groups (16 c/g, 9.83MB/g, 4544 i/g)
super-block backups (for fsck -b #) at:
 [ ... ]

It looks like I have more inodes than file space in the last cylinder
group.  Why?  Is my partition sized oddly?  If so, how do I calculate a
"good" size that's near 600M?  The default number of bytes/inode seems
plenty low to me.

Also, the partition has 977 cylinders.  Why does mkfs report that there
are 976 cylinders?

Any explainations, advice, or pointers to documentation would be
appreciated.

--
Tim Ramsey/system administrator/tar at math.ksu.edu/(913) 532-6750/2-7004 (FAX)
Department of Mathematics, Kansas State University, Manhattan KS  66506-2602
I don't want freedom from.  I want freedom to.



More information about the Comp.unix.admin mailing list