Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jan 2004 09:22:34 -0600
From:      "J.D. Bronson" <jeff_bronson@wixb.com>
To:        freebsd-questions@freebsd.org
Subject:   5.2-RC2 help with newfs after bsdlabel
Message-ID:  <6.0.1.1.2.20040103091822.00b30e28@cheyenne.wixb.com>

next in thread | raw e-mail | index | archive | help
Hmm. I created a disklabel as such:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a:  1048576        0    4.2BSD     2048 16384     8
   b:  1572864  1048576      swap
   c: 80418240        0    unused        0     0
   d: 30720000  2621440    4.2BSD     2048 16384 28552
   e:  8388608 33341440    4.2BSD     2048 16384 28552
   f:  8388608 41730048    4.2BSD     2048 16384 28552
   g: 20480000 50118656    4.2BSD     2048 16384 28552
   h:  9819584 70598656    4.2BSD

..I checked and partition 'h' does not exceed the value of 'c'.


when I go to "newfs -N" I see this:

# newfs -N /dev/ad2s1h
/dev/ad2s1h: 4794.7MB (9819584 sectors) block size 16384, fragment size 2048
         using 27 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
  160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 
3010976, 3387328, 3763680, 4140032, 4516384, 4892736, 5269088,
  5645440, 6021792, 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 
8656256, 9032608, 9408960, 9785312


However when I actually run newfs:

# newfs /dev/ad2s1h
newfs: wtfs: 512 bytes at sector 9819583: Input/output error


...I think this is the trouble i had under 4.9, but there I was able to 
fiddle with the size until it formatted fine with no cylinder issues.

I am at a loss to trouble shoot this since it 'looks' like it will format, 
but then refuses to. The rest of the drive slices formatted 100% perfect.

What am I missing?

Please help? - Thanks :)




-- 
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.2.20040103091822.00b30e28>