Recovering a GEOM RAID0 array
Ivan Voras
ivoras at freebsd.org
Tue Mar 31 06:41:49 PDT 2009
Juan Miscaro wrote:
>> What does "gstripe list" say? What does "sysctl -b kern.geom.confxml" say?
>
> 'gstripe list' does not return any output at all.
>
> 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="0xc3065300">
<class ref="0xc0978f60"/>
<name>ad3c</name>
<rank>3</rank>
<consumer id="0xc30698c0">
<geom ref="0xc3065300"/>
<provider ref="0xc2e6fd80"/>
<mode>r0w0e0</mode>
</consumer>
</geom>
<geom id="0xc3032a00">
<class ref="0xc0978f60"/>
<name>ad3a</name>
<rank>3</rank>
<consumer id="0xc2fde5c0">
<geom ref="0xc3032a00"/>
<provider ref="0xc2e6fc80"/>
<mode>r0w0e0</mode>
</consumer>
</geom>
<geom id="0xc3032d00">
<class ref="0xc0978f60"/>
<name>ad3s1</name>
<rank>3</rank>
<consumer id="0xc2fdea00">
<geom ref="0xc3032d00"/>
<provider ref="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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090331/bd357eb3/signature.pgp
More information about the freebsd-questions
mailing list