Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
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. ... 24 47 41 46 52 10 41 08 00 00 00 00 00 00 00 00 |$GAFR.A.| 0010 00 00 00 00 00 00 00 00 00 0

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: > >>> 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. >> >> What is a generic configuration?  Or can you explain how you come to >> that con

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: >> 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. > > What is a generic configuration? Or can you explain how you come to > that conclusion? RAID 0 means striping

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > 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

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
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_STRI

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: > >> This is the end of dmesg (the drives in question are ad1 and ad3): > >> GEOM_STRIPE: Device st0 created (id=3091204740). >> GEOM_STRIPE: Disk ad1 attached to st0. >> GEOM_STRIPE: Disk ad1 removed from st0. >> GEOM_STRIPE: Device st0 destroyed. >> GE

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Ivan Voras wrote: > >> If "gstripe list" doesn't mention ad3, you need to establish what >> happened to metadata on ad3. Try extracting the last sector from ad3 by >> hand (using dd) into a file and inspect it (send output of "hd filename"). > > I just noticed there could b

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Ivan Voras wrote: > If "gstripe list" doesn't mention ad3, you need to establish what > happened to metadata on ad3. Try extracting the last sector from ad3 by > hand (using dd) into a file and inspect it (send output of "hd filename"). I just noticed there could be an easier way to do it: use "g

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: > This is the end of dmesg (the drives in question are ad1 and ad3): > GEOM_STRIPE: Device st0 created (id=3091204740). > GEOM_STRIPE: Disk ad1 attached to st0. > GEOM_STRIPE: Disk ad1 removed from st0. > GEOM_STRIPE: Device st0 destroyed. > GEOM_STRIPE: Device st0 created (id

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: >> 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 >> >>

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: > 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

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 hv : > > 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

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread hv
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

Recovering a GEOM RAID0 array

2009-03-30 Thread 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 2