Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 1997 03:11:11 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        brianc@pobox.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: ccd / newfs error
Message-ID:  <199709141011.DAA08111@blimp.mimi.com>
In-Reply-To: <19970912232911.50519@pobox.com> (message from Brian Campbell on Fri, 12 Sep 1997 23:29:11 -0400)

next in thread | previous in thread | raw e-mail | index | archive | help
 * # 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



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