Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 1997 23:29:11 -0400
From:      Brian Campbell <brianc@pobox.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   ccd / newfs error
Message-ID:  <19970912232911.50519@pobox.com>

next in thread | raw e-mail | index | archive | help
Has anyone else had problems newfs'ing ccd filesystems?  It works
for some interleaves but not others.  The newfs error message is
less than informative.

Is there a guideline for getting the best performance out of a
filesytems (newfs/tunefs options) for reads vs writes, large vs
small files, etc?


Script started on Fri Sep 12 23:19:10 1997
# ccdconfig -v ccd0 64 0 /dev/sd0h /dev/sd1h
ccd0: 2 components (sd0h, sd1h), 8369536 blocks interleaved at 64 blocks
# newfs ccd0a
Warning: 2688 sector(s) in last cylinder unallocated
/dev/rccd0a:	8369536 sectors in 2044 cylinders of 1 tracks, 4096 sectors
	4086.7MB in 128 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
super-block backups (for fsck -b #) at:
 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, 589856, 655392, 720928, 786464, 852000, 917536, ...
# ccdconfig -u ccd0

# ccdconfig -v ccd0 128 0 /dev/sd0h /dev/sd1h
ccd0: 2 components (sd0h, sd1h), 8369408 blocks interleaved at 128 blocks
# newfs ccd0a
write error: 8369535
wtfs: Invalid argument
# ccdconfig -u ccd0

# ccdconfig -v ccd0 256 0 /dev/sd0h /dev/sd1h
ccd0: 2 components (sd0h, sd1h), 8369152 blocks interleaved at 256 blocks
# newfs ccd0a
Warning: 2688 sector(s) in last cylinder unallocated
/dev/rccd0a:	8369536 sectors in 2044 cylinders of 1 tracks, 4096 sectors
	4086.7MB in 128 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
super-block backups (for fsck -b #) at:
 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, 589856, 655392, 720928, 786464, 852000, 917536, ...
# ccdconfig -u ccd0

# ccdconfig -v ccd0 512 0 /dev/sd0h /dev/sd1h
ccd0: 2 components (sd0h, sd1h), 8369152 blocks interleaved at 512 blocks
# newfs ccd0a
write error: 8369535
wtfs: Invalid argument
# ccdconfig -u ccd0
Script done on Fri Sep 12 23:20:34 1997



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