Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 1998 02:12:19 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        cdillon@inter-linc.net
Cc:        freebsd-fs@FreeBSD.ORG
Subject:   Re: May have pounced on something weird with ccd and newfs  (rather old)
Message-ID:  <199802041012.CAA02979@silvia.HIP.Berkeley.EDU>
In-Reply-To: <XFMail.980204002044.cdillon@inter-linc.net> (message from Chris Dillon on Wed, 04 Feb 1998 00:02:01 -0600 (CST))

next in thread | previous in thread | raw e-mail | index | archive | help
 * ccdconfig -c ccd0 $BLOCKSIZE 0 /dev/sd0s1g /dev/sd1s1g
 * newfs -b 8192 -f 1024 ccd0c
 * mount /dev/ccd0c /mnt
 * bonnie -d /mnt -s 100 -m "I=$BLOCKSIZE" | grep "I=" >> ~/ccdtest.txt
 * umount -f /dev/ccd0c (only did -f since weirdly enough, it would fail sometimes)
 * ccdconfig -u ccd0

 * I=128     newfs -b 8192 -f 1024 fails with "write error: 2047871
 *                                             wtfs: invalid argument".

 * "std" is the output when NOT using ccd (i.e., a regular disk). With
 * a ccd stripe size of 128, newfs refused to create a filesystem with
 * the error you see above.  (I decided on using the 64 block stripe
 * ultimately, by the way.)

Could you have an old disklabel in there by any chance?  See if the
size given in "disklabel ccd0" is consistent with "ccdconfig -g".

Satoshi



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