Message during newfs operation (blocks / cyl group >= 636 in last cylinder Group)

From: Steven Sim (steven.sim@faplccc.net)
Date: Wed Dec 14 2005 - 11:06:28 EST


Hello Gurus;

The machine in question is a 240 with 2 internal 72 Gbyte hard disk.

# uname -a
SunOS 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V240

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1c,600000/scsi@2/sd@0,0
       1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number):

I booted from OK prompt

OK>boot cdrom -s

and once in single user mode, I did the following;

# prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
fmthard: New volume table of contents now in place.

So now c1t1d0 has the same VTOC as c1t0d0

Then I did a newfs and here's where the msg in question appeared;

# newfs /dev/rdsk/c1t1d0s2
newfs: construct a new file system /dev/rdsk/c1t1d0s0: (y/n)? y
Warning: inode blocks/cyl group (719) >= data blocks (636) in last
    cylinder group. This implies 10176 sector(s) cannot be allocated.
/dev/rdsk/c1t1d0s0: 139105920 sectors in 13670 cylinders of 24
tracks, 424 sectors
        67922.8MB in 1367 cyl groups (10 c/g, 49.69MB/g, 6016 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 102224, 204416, 306608, 408800, 510992, 613184, 715376, 817568, 919760,
Initializing cylinder groups:
...........................
super-block backups for last 10 cylinder groups at:
 138093968, 138196160, 138298352, 138400544, 138502736, 138604928,
138707120,
 138809312, 138911504, 139013696,

The newfs gave the warning as shown above;

Warning: inode blocks/cyl group (719) >= data blocks (636) in last
    cylinder group. This implies 10176 sector(s) cannot be allocated

The partition table of the disk in question is shown below;

Part Tag Flag Cylinders Size Blocks^M
  0 root wm 413 - 14083 66.34GB (13671/0/0)
139116096^M
  1 swap wu 0 - 412 2.00GB (413/0/0)
4202688^M
  2 backup wm 0 - 14086 68.35GB (14087/0/0)
143349312^M
  3 unassigned wu 0 0
(0/0/0) 0^M
  4 unassigned wu 0 0
(0/0/0) 0^M
  5 unassigned wu 0 0
(0/0/0) 0^M
  6 unassigned wu 0 0
(0/0/0) 0^M
  7 unassigned wu 0 0
(0/0/0) 0^M

Question;

Why did newfs not create another cylinder group if the number of blocks
in the last cylinder group (719) was greater than the default blocks per
cylinder group (636)?

Should I have instead used an additional -o option in newfs or used
mkfs_ufs directly? Perhaps increase cgsize?

Any chance I can recover the 10176 unallocated sectors?

Warmest Regards
Steven Sim

Fujitsu Asia Pte. Ltd.
_____________________________________________________

This e-mail is confidential and may also be privileged. If you are not the intended recipient, please notify us immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person.

Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it.
_______________________________________________
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:37:38 EDT