inodes

Dr. Thaddeus F. Pawlicki pawlicki at kodak.com
Thu Mar 1 01:55:06 AEST 1990


I have looked at man newfs, there is no option for increasing the number
of inodes per cylinder group. ( -i adjusts the density of the inodes, but
I am already at the max of 2048 i/g). I have tried using a smaller
fragment size while adjusting the cyl/group and the block-size, but the
system panics and crashes when I try to access the partition.

Here is a sequence of what I tried :

{4} /usr-> newfs -N -v xd0g
mkfs -N /dev/rxd0g 582660 83 27 8192 1024 16 10 60 2048 t 0 -1
/dev/rxd0g:     582660 sectors in 260 cylinders of 27 tracks, 83 sectors
        298.3Mb in 17 cyl groups (16 c/g, 18.36Mb/g, 2048 i/g)
super-block backups (for fsck -b#) at:
 32, 35984, 71936, 107888, 143840, 179792, 215744, 251696, 287648, 323600,
 359552, 395504, 431456, 467408, 503360, 539312, 575264,

> this works, but I run out of inodes

{5} /usr-> newfs -N -v -f 512 xd0g
mkfs -N /dev/rxd0g 582660 83 27 8192 512 16 10 60 2048 t 0 -1
fragment size 512 is too small, minimum with block size 8192 is 1024

{6} /usr-> newfs -N -v -f 512 -b 4096 xd0g
mkfs -N /dev/rxd0g 582660 83 27 4096 512 16 10 60 2048 t 0 -1
cylinder group too large (16 cylinders); max: 11 cylinders per group

{7} /usr-> newfs -N -v -f 512 -b 4096 -c 8 xd0g
mkfs -N /dev/rxd0g 582660 83 27 4096 512 8 10 60 2048 t 0 -1
/dev/rxd0g:     582660 sectors in 260 cylinders of 27 tracks, 83 sectors
        298.3Mb in 33 cyl groups (8 c/g, 9.18Mb/g, 2048 i/g)
super-block backups (for fsck -b#) at:
 32, 18048, 36064, 54080, 72096, 90112, 108128, 126144, 144160, 162176,
 180192, 198208, 216224, 234240, 252256, 270272, 288288, 306304, 324320, 342336,
 360352, 378368, 396384, 414400, 432416, 450432, 468448, 486464, 504480, 522496,
 540512, 558528, 573728,

the newfs works ok, but when I try to mount & access the disk, the system
panics and crashes.



More information about the Comp.sys.sun mailing list