Date: Tue, 31 Mar 2009 15:41:31 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: Recovering a GEOM RAID0 array Message-ID: <gqt6ib$q6c$1@ger.gmane.org> In-Reply-To: <d0626390903310621p5e6e71a9n38ec5b81f5780585@mail.gmail.com> References: <d0626390903301221o701f762ao18269ae6e212affa@mail.gmail.com> <gqt0rm$64m$1@ger.gmane.org> <d0626390903310522w67f09292t5148334ee3cd2a2d@mail.gmail.com> <gqt3ei$f77$1@ger.gmane.org> <d0626390903310621p5e6e71a9n38ec5b81f5780585@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) --------------enig00AF3375BFDCCE321CF7DE8A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Juan Miscaro wrote: >> What does "gstripe list" say? What does "sysctl -b kern.geom.confxml" = say? >=20 > 'gstripe list' does not return any output at all. >=20 > Output to the sysctl command is attached. "gstripe list" cannot output nothing, since the sysctl output you posted says a partial GEOM_STRIPE instance is present on the system. This is bad: <geom id=3D"0xc3065300"> <class ref=3D"0xc0978f60"/> <name>ad3c</name> <rank>3</rank> <consumer id=3D"0xc30698c0"> <geom ref=3D"0xc3065300"/> <provider ref=3D"0xc2e6fd80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id=3D"0xc3032a00"> <class ref=3D"0xc0978f60"/> <name>ad3a</name> <rank>3</rank> <consumer id=3D"0xc2fde5c0"> <geom ref=3D"0xc3032a00"/> <provider ref=3D"0xc2e6fc80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id=3D"0xc3032d00"> <class ref=3D"0xc0978f60"/> <name>ad3s1</name> <rank>3</rank> <consumer id=3D"0xc2fdea00"> <geom ref=3D"0xc3032d00"/> <provider ref=3D"0xc2e6fa00"/> <mode>r0w0e0</mode> </consumer> </geom> It looks like you created a both a fdisk partition table and a bsdlabel partition table on the ad3 drive. If so, your data is probably already corrupted. ad1 is also strangely partitioned but since it's your first drive in a stripe this can be acceptable (it will contain the first sectors of the array, including its partition tables). > # gstripe dump ad3 > Can't read metadata from ad3: Invalid argument. > Not fully done. This can happen if the metadata on ad3 is corrupted. You'll need to dump the last sector and inspect it to verify. --------------enig00AF3375BFDCCE321CF7DE8A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ0h2LldnAQVacBcgRAnbMAJ9wL0TNL6NLtcKAHzMHqkDBbj32wACgwye3 5GSEZ+6384lTrWrYG6eZCZ8= =Wtbl -----END PGP SIGNATURE----- --------------enig00AF3375BFDCCE321CF7DE8A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gqt6ib$q6c$1>