From owner-freebsd-hackers Fri Sep 12 20:30:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA29716 for hackers-outgoing; Fri, 12 Sep 1997 20:30:23 -0700 (PDT) Received: from pobox.com (ras149.microplus.ca [207.81.20.68]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA29705 for ; Fri, 12 Sep 1997 20:30:17 -0700 (PDT) Received: (from brianc@localhost) by pobox.com (8.8.5/8.8.5) id XAA02961; Fri, 12 Sep 1997 23:29:12 -0400 (EDT) Message-ID: <19970912232911.50519@pobox.com> Date: Fri, 12 Sep 1997 23:29:11 -0400 From: Brian Campbell To: freebsd-hackers@FreeBSD.org Subject: ccd / newfs error Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 Sender: owner-freebsd-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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