newfs question

From: Giovanni Navarrette (gio@uslink.net)
Date: Tue Aug 20 2002 - 13:56:13 EDT


Hey everyone:

Got a quick question. I'm setting up a new RAID with some new
partitions..., and I'm building the fs's on them. I'm getting a funky
error that I'm a tad concerned about.

1st it complains about the fragment size.

bash-2.03# newfs -v /dev/rdsk/c0t112d0s3
newfs: construct a new file system /dev/rdsk/c0t112d0s3: (y/n)? y
mkfs -F ufs /dev/rdsk/c0t112d0s3 218322144 127 127 8192 1024 251 1 90 8192 t 0 -1 8 127
With 16129 sectors per cylinder, minimum cylinders per group is 16
This requires the fragment size to be changed from 1024 to 4096
Please re-run mkfs with corrected parameters

Easy enough to fix...., add -f 4096 and try again:

bash-2.03# newfs -v -f 4096 /dev/rdsk/c0t112d0s3
newfs: construct a new file system /dev/rdsk/c0t112d0s3: (y/n)? y
mkfs -F ufs /dev/rdsk/c0t112d0s3 218322144 127 127 8192 4096 251 1 90 8192 -t 0 -1 8 127
Cylinder groups must have a multiple of 16 cylinders with the given parameters
Rounded cgsize up to 256
Warning: insufficient space in super block for
rotational layout tables with nsect 127, ntrack 127, and nrpos 8.
Omitting tables - file system performance may be impaired.
/dev/rdsk/c0t112d0s3: 218322144 sectors in 13536 cylinders of 127 tracks, 127 sectors
        106602.6MB in 846 cyl groups (16 c/g, 126.01MB/g, 15808 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 258224, 516416, 774608, 1032800, 1290992, 1549184, 1807376, 2065568,
 2323760, 2581952, 2840144, 3098336, 3356528, 3614720, 3872912, 4131104,
 ...,...,...

OK...., whats the cylinder complaint about?! I setup the partitions in the
format utility as closely as they would go..., within 1 cylinder. But in
the block fields the numbers work great:

partition> print
Current partition table (unnamed):
Total disk cylinders available: 35554 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
  0 unassigned wm 0 0 (0/0/0) 0
  1 unassigned wm 0 0 (0/0/0) 0
  2 backup wu 0 - 35553 273.44GB (35554/0/0) 573450466
  3 home wm 0 - 13535 104.10GB (13536/0/0) 218322144
  4 var wm 13537 - 33824 156.03GB (20288/0/0) 327225152
  5 alternates wm 33826 - 35537 13.17GB (1712/0/0) 27612848
  6 unassigned wm 0 0 (0/0/0) 0
  7 unassigned wm 0 0 (0/0/0) 0

partition>

The cylinders field will NOT move the numbers to evenly match 16c/group.
In the blocks field, the 1st number looks like the number of cylinders(or
blocks) on that partition, and that number works great for multiples of
16. It wouldnt worry me so much, but it says something in the error about
about "Omitting tables - file system performance may be impaired.". How
badly can it be hurt? How do I fix this stupid error..., I've tried
resizing the partitions but the cylinders field never lines up good. Any
ideas/comments?

Thanks a bunch. Gl hf, have a g'day.

-
-------------------------------------
Giovanni Navarrette
USLink Internet Systems Administrator
e-Mail: gio@uslink.net
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:49 EDT