From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 10:21:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E4B1065676 for ; Tue, 31 Mar 2009 10:21:27 +0000 (UTC) (envelope-from hv@tuebingen.mpg.de) Received: from mailgw2.tuebingen.mpg.de (mailgw2.tuebingen.mpg.de [192.124.27.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB198FC23 for ; Tue, 31 Mar 2009 10:21:27 +0000 (UTC) (envelope-from hv@tuebingen.mpg.de) X-IronPort-AV: E=Sophos;i="4.38,451,1233529200"; d="sig'?scan'208,217";a="166170" Received: from cmh.local (HELO tuebingen.mpg.de) ([10.3.6.123]) by mailgate2.local with ESMTP; 31 Mar 2009 11:51:58 +0200 Received: from adminx.local (account henry.vogt [10.3.7.25] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 5.2.8) with ESMTPSA id 7220551; Tue, 31 Mar 2009 11:51:58 +0200 Message-Id: From: hv To: Juan Miscaro In-Reply-To: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-138-340391355" Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 31 Mar 2009 11:51:52 +0200 References: X-Pgp-Agent: GPGMail 1.2.0 (v56) Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.930.3) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: Recovering a GEOM RAID0 array X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 10:21:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-138-340391355 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Am 30.03.2009 um 21:21 schrieb Juan Miscaro: > Hi gang, > > I'm running a remote 6.2 system which recently got shut down > unexpectedly (tower was physically nudged and apparently lost power). > I am running a 2-disk striped array with the geom_stripe.ko module. > > So my fstab line is > > /dev/stripe/st0a /data ufs rw,acls =20 > 2 2 > > Thing is, the /dev/stripe directory no longer exists. Make sure the the geom_stripe module is actually loaded. (with kldstat) If it's not already loaded, do a kldload geom_stripe (which creates =20 the /dev/stripe directory, if the metadata exist on the disk =20 ("automatic mode") and perform a normal fsck afterwards. (e.g fsck -y /=20= dev/stripe/st0a) If the metadata /(manual mode) are not stored on the disk, you need to =20= issue exactly the same commands to recreate it as you originally did. All this is nicely documented in the man page (man gstripe) By adding the following line geom_stripe_load=3D"YES" to /boot/loader.conf you make sure the stripe will be available after =20= reboot (at least in "automatic mode"). Hope this helps Regards -- Henry Vogt (Fon: ++49-7071-601-511, Fax: -826) Campus Max-Planck-Institute, Spemannstr. 32-41, T=FCbingen, Germany --Apple-Mail-138-340391355 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: Signierter Teil der Nachricht content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAknR57kACgkQiF3PvXvQ0FAOgwCeJThazdga+WCkL1chCsTSUb7d I8EAoJO/oCqVqAGtJwl/3/oJy0xRHb6p =PvsE -----END PGP SIGNATURE----- --Apple-Mail-138-340391355--