newfs question

Giles Carre carre at lapin.ens-lyon.fr
Fri Jun 28 06:22:00 AEST 1991


In article <3329 at brchh104.bnr.ca>, barkdoll at cattell.psych.upenn.edu writes:
|> While preparing to set up (newfs -Nv /dev/rsd1h) a new file system i
|> encountered the following message:
|> 
|> mkfs -N /dev/rsd1h  15876 36 9 8192 1024 16 10 60 2048 t 0 0 8 7
|> Warning: inode blocks/cyl group (32) >= data blocks (20) in last
|>     cylinder group. This implies 324 sector(s) cannot be allocated.
|> /dev/rsd1h:	15552 sectors in 48 cylinders of 9 tracks, 36 sectors
|> 	8.0MB in 3 cyl groups (16 c/g, 2.65MB/g, 1216 i/g)
|> super-block backups (for fsck -b #) at:
|>  32, 5264, 10496,
|> 

It is a warning, not an error. The unallocated sectors are not bad, but
only not used.

On a Sun 207 MB internal disk, you have 324 sectors/cylinder
(9 heads x 36 sector/track). On a 15876 sectors partition, you have 49
entire cylinders.

A BSD file system is made of cylinder groups, each of them whith n
cylinder (default is n = 16 cylinders). So, here, you can have 3 cylinder
groups (3 x 16 + 1 = 49 cyl). The last cylinder is lost for Unix file system.

On this disk, it's impossible to use all the 1254 cylinders with the
default value of 16 cylinders/group.

-- 
Giles Carre
Ecole Normale Superieure   46, allee d'Italie  69364 LYON CEDEX 07 FRANCE
Phone    : (+33) 72 72 84 12	EARN/BITNET 	 : carre at frensl61.bitnet
Fax	 : (+33) 72 72 80 80	FNET/EUNET/UUNET : carre at ensl.ens-lyon.fr




More information about the Comp.sys.sun mailing list