Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 07:51:09 -0400
From:      Juan Miscaro <jmiscaro@gmail.com>
To:        hv <hv@tuebingen.mpg.de>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Recovering a GEOM RAID0 array
Message-ID:  <d0626390903310451l184c819fp92fec0a081f2536b@mail.gmail.com>
In-Reply-To: <F0F57EC8-B3B1-4B90-BE12-73889B21FB3B@tuebingen.mpg.de>
References:  <d0626390903301221o701f762ao18269ae6e212affa@mail.gmail.com> <F0F57EC8-B3B1-4B90-BE12-73889B21FB3B@tuebingen.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/3/31 hv <hv@tuebingen.mpg.de>:
>
> 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 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/data =C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ufs =C2=A0=C2=A0=C2=
=A0=C2=A0rw,acls =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02 =C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02
>
> 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 the
> /dev/stripe directory, if the metadata exist on the disk ("automatic mode=
")

It *was* in automatic mode since it's been running and rebooting for
the past 2 years without any commands being issued in scripts.

The module was loaded but I unloaded it and reloaded it.  Strangely,
the size of the module (as given by 'kldstat') changed.  The output
line went from

 2    1 0xc0b0c000 6c9c     geom_stripe.ko

to

 4    1 0xc4f42000 6000     geom_stripe.ko

The /dev/stripe directory is still not present.

> and perform a normal fsck afterwards. (e.g fsck -y /dev/stripe/st0a)
> If the metadata /(manual mode) are not stored on the disk, you need to is=
sue
> 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 reb=
oot
> (at least in "automatic mode").

Yes, the line is there (in /boot/loader.conf).

I fear the boot sector of one of the drives has been corrupted.

--
jm



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