Recovering a GEOM RAID0 array

Ivan Voras ivoras at freebsd.org
Tue Mar 31 12:47:19 PDT 2009


Juan Miscaro wrote:


>> # dd if=/dev/ad3 of=ad3last count=1 skip=625142447
>> # hd ad3last
>>
>>
> 
> Thanks for that great explanation.
> 
> The file ad3last.txt is attached.

...
00000000  24 47 41 46 52 10 41 08  00 00 00 00 00 00 00 00
|$GAFR.A.........|
00000010  00 00 00 00 00 00 00 00  00 00 6f e2 42 25 00 00
|..........o¿B%..|
...

If this is the last sector of ad3, it certainly doesn't contain
GEOM_STRIPE metadata, for whatever reasons.

If this is really the right drive, you might try creating a temporary
stripe array (with "gstripe create" instead of "gstripe label" of these
two drives) and try running "dumpfs" on the array (or specifically
partitions with UFS file systems on the array). If it finds the file
system(s), run fsck on them. If it also passes, then delete this array
and create it again with "gstripe label" to make it permanent. If dumpfs
and/or fsck fail, you have at this point no way to reclaim your data.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090331/9c6e2f0c/signature-0001.pgp


More information about the freebsd-questions mailing list