Date: Tue, 31 Mar 2009 11:51:52 +0200 From: hv <hv@tuebingen.mpg.de> To: Juan Miscaro <jmiscaro@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Recovering a GEOM RAID0 array Message-ID: <F0F57EC8-B3B1-4B90-BE12-73889B21FB3B@tuebingen.mpg.de> In-Reply-To: <d0626390903301221o701f762ao18269ae6e212affa@mail.gmail.com> References: <d0626390903301221o701f762ao18269ae6e212affa@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <hv@tuebingen.mpg.de> (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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F0F57EC8-B3B1-4B90-BE12-73889B21FB3B>