From owner-freebsd-current@FreeBSD.ORG Sun Oct 24 08:51: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 F3A5D16A4CE; Sun, 24 Oct 2004 08:51:08 +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 38EAB43D5C; Sun, 24 Oct 2004 08:51:01 +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 3FAC0362FE; Sun, 24 Oct 2004 10:50:45 +0200 (CEST) Date: Sun, 24 Oct 2004 10:52:04 +0200 From: Miguel Mendez To: Pawel Jakub Dawidek Message-Id: <20041024105204.7da25d78.flynn@energyhq.es.eu.org> In-Reply-To: <20041024071759.GS73767@darkness.comp.waw.pl> References: <20041022173922.C261616A4E1@hub.freebsd.org> <1098471638.31562.34.camel@zappa.Chelsea-Ct.Org> <20041024071759.GS73767@darkness.comp.waw.pl> 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=_Sun__24_Oct_2004_10_52_04_+0200_Qum8T_oFbOEhBjCH" cc: paul@gromit.dlib.vt.edu cc: freebsd-current@freebsd.org Subject: Re: 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: Sun, 24 Oct 2004 08:51:09 -0000 --Signature=_Sun__24_Oct_2004_10_52_04_+0200_Qum8T_oFbOEhBjCH Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sun, 24 Oct 2004 09:17:59 +0200 Pawel Jakub Dawidek wrote: Hi, > It should work with any GEOM providers. > Without more info it will be hard to track it down... Ok, a bit more info... flynn@scienide% sudo camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 3 lun 0 (pass1,cd0) at scbus0 target 4 lun 0 (pass2,da1) at scbus0 target 6 lun 0 (pass3,cd1) Those are the devices installed in the box. An old Quantum and a newer U160 Seagate Barracuda are the harddrives. I used gstripe with a stock 5.3-RC1 GENERIC kernel. All the devices are connected to an Adaptec 19160 card. As per the man page, this is what I did: $ gstripe label -v -s 4096 usr /dev/da0s1d /dev/da1s1d $ newfs /dev/stripe/usr $ mount /dev/stripe/usr /mnt [...] It worked fine the first time. I rebooted the box and booted in single user mode. I had to manually start the stripe, mounted it and tar'd /usr to its new location. After that I proceeded to delete the normal /usr. Edited /boot/loader.conf to make it load the geom_stripe module and rebooted once more. This time a bunch of messages appeared. geom_stripe started traversing the disks mentioning da0, da0s1[ad] and the da1[bd]. It attached the device, and a few lines later it complained and destroyed it. As I said I don't have the exact message because I had to reinstall (my /usr was no more). Cheers, -- Miguel Mendez http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 Note: All HTML mail goes to /dev/null --Signature=_Sun__24_Oct_2004_10_52_04_+0200_Qum8T_oFbOEhBjCH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBe203nLctrNyFFPERAgPFAKC4Z7G2rKzPpPyKF7zwe9jXQc4EbwCaAuQI uU+iTiDZNTpGREKQStQc+ZI= =EdWf -----END PGP SIGNATURE----- --Signature=_Sun__24_Oct_2004_10_52_04_+0200_Qum8T_oFbOEhBjCH--