From owner-freebsd-hackers Sun Sep 14 03:11:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA03811 for hackers-outgoing; Sun, 14 Sep 1997 03:11:55 -0700 (PDT) Received: from dfw-ix8.ix.netcom.com (dfw-ix8.ix.netcom.com [206.214.98.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA03806 for ; Sun, 14 Sep 1997 03:11:50 -0700 (PDT) Received: (from smap@localhost) by dfw-ix8.ix.netcom.com (8.8.4/8.8.4) id FAA21148; Sun, 14 Sep 1997 05:11:18 -0500 (CDT) Received: from sjx-ca29-22.ix.netcom.com(204.31.235.150) by dfw-ix8.ix.netcom.com via smap (V1.3) id rma021142; Sun Sep 14 05:11:14 1997 Received: (from asami@localhost) by blimp.mimi.com (8.8.7/8.6.9) id DAA08111; Sun, 14 Sep 1997 03:11:11 -0700 (PDT) Date: Sun, 14 Sep 1997 03:11:11 -0700 (PDT) Message-Id: <199709141011.DAA08111@blimp.mimi.com> To: brianc@pobox.com CC: freebsd-hackers@freebsd.org In-reply-to: <19970912232911.50519@pobox.com> (message from Brian Campbell on Fri, 12 Sep 1997 23:29:11 -0400) Subject: Re: ccd / newfs error From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * # 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 You are writing past the end of the partition. ;) Note that disklabel on ccd returns a "default" label with only `c' if there is no disklabel on the array, but will use one if it exists in the first few blocks of the ccd (which means the first few blocks of sd0h in your case). Your problem is most likely because ccd is using the disklabel you edited when you had a slightly larger array (because of different interleave). Satoshi