Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!maverick.ksu.ksu.edu!math.ksu.edu!tar From: tar@math.ksu.edu (Tim Ramsey) Newsgroups: comp.unix.admin Subject: Help with newfs under SunOS 4.1.1: can't allocate sectors Message-ID: <1991Jun28.020854.16006@maverick.ksu.ksu.edu> Date: 28 Jun 91 02:08:54 GMT Sender: news@maverick.ksu.ksu.edu (The News Guru) Organization: Kansas State University Lines: 30 Nntp-Posting-Host: hilbert.math.ksu.edu 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@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.