From owner-freebsd-current@FreeBSD.ORG Fri Oct 22 16:57:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E11016A4CE for ; Fri, 22 Oct 2004 16:57:09 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE6F43D1F for ; Fri, 22 Oct 2004 16:57:05 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id 28C7C35821 for ; Fri, 22 Oct 2004 18:57:04 +0200 (CEST) Date: Fri, 22 Oct 2004 18:58:25 +0200 From: Miguel Mendez To: current@freebsd.org Message-Id: <20041022185825.32c97a6d.flynn@energyhq.es.eu.org> X-Mailer: Sylpheed version 0.9.12-gtk2-20040918 (GTK+ 2.4.9; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__22_Oct_2004_18_58_25_+0200_jwk63FTWNdqouTWt" Subject: ccd and gstripe on 5.3-RC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 16:57:09 -0000 --Signature=_Fri__22_Oct_2004_18_58_25_+0200_jwk63FTWNdqouTWt Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi, I installed 5.3-RC1 yesterday. My main box has 2 9GB disks, which I usually partition this way: da0:[512MB for / ][ 8.5GB ] da1:[512MB for swap][ 8.5GB ] I combine the two 8.5GB partitions (/dev/da[01]s1d) in a stripped volume. I did it with vinum in the past, and have done it with ccd for a while. However, after the install I discovered the gstripe command, and assumed (because it's not mentioned otherwise in the man page) that it would work with partitions like ccd/RAIDframe. So I followed the example and create an automatic stripe called usr using the two 'd' partitions. It worked fine (read: gstripe didn't complain). I even newfs'd and mounted it, and proceeded to copy the original /usr to the stripped volume. Everything went fine, so I rebooted the box. And then gstripe started printing a lot of errors about da0 and da1, attached the volume and then destroyed it. Sorry, I don't have the log because I reinstalled after that. My question is, is gstripe supposed to work *only* with whole disks? If that's the case, wouldn't it be interesting to make it be able to work with partitions as well? In the end, I did my usual ccd.conf install, and that's the second part of the message. The man page for ccdconfig ends with this sentence: "If you need more than this you should look into external hardware RAID SCSI boxes, RAID controllers (see GENERIC), or software RAID systems such as RAIDframe raid(4) and vinum(8)." However, raid(4) doesn't exist anymore (in RELENG_5, that is), shall I submit a patch for that one (the change is trivial) ? Cheers, -- Miguel Mendez http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 Note: All HTML and non-english mail goes to /dev/null --Signature=_Fri__22_Oct_2004_18_58_25_+0200_jwk63FTWNdqouTWt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBeTw0nLctrNyFFPERApPFAJ9AG9vVC3KK/GAPqhPmwXn+xfstwgCgw56q da+wZA5S8pMy/KH1Y3BSXWI= =YGtV -----END PGP SIGNATURE----- --Signature=_Fri__22_Oct_2004_18_58_25_+0200_jwk63FTWNdqouTWt--