Hi Evgeny,

As others have pointed out, your best bet right now is to keep your raw
disks backed up and wait for better tools for ZFS data recovery. I've
recently worked on some ZFS changes to make such recovery easier and have a
higher success rate. It will probably take a few months until it is pushed
to Illumos but I'll let you know once that is done.

I'm planning to write a blog post once the feature is out. Here's a few
things that I've addressed that might be applicable to your case:
 - Add debug tracing during the pool import process
 - Allow importing pools through configuration changes (e.g. a device was
replaced)
 - Add global variables to allow overriding some checks during pool import,
using the kernel debugger / zdb.

Regards,
Pavel

On Sun, Jun 5, 2016 at 5:22 PM, BlackCat <[email protected]> wrote:

> Hello,
>
> 2016-06-03 20:56 GMT+03:00 esamorokov <[email protected]>:
> >     My name is Evgeny and I have 3 x 3TB in RAIDZ1, where one drive is
> gone
> > and I accidentally
> >     screwed the other two. The data should be fine, just need to revert
> >     uberblock in point of time, where i started doing changes.
> >
> > History:
> >     I was using WEB GUI of FreeNas and it reported a failed drive
> >     I shutdown the computer and replaced the drive, but I did not noticed
> > that I accidentally disconnected power of another drive
> >     I powered on the server and expanded the pool where there only one
> drive
> > of the pool was active
> >     Then I began to really learn ZFS and messing up with bits
> >     At some point I created a backup bit-to-bit images of the two drives
> > from the pool (using R-Studio)
> >
> >
> 
> I am still wonder about two things, may be someone more familiar with
> FreeBSD realization could provide some clue:
> 
> -  how ada2p2 partition GUID could change if Evgeny make bit-to-bit
> clone of  the whole drive? Is it possible to zfs recreate partition
> when it adding partition to pool?
> 
> -  why ZFS allows attaching ada2p2 to a new pool and in same time it
> rejected attaching of ada1p2, while both drives are in the same
> condition?
> 
> --
> BR BC
> 



-------------------------------------------
openzfs-developer
Archives: https://www.listbox.com/member/archive/274414/=now
RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c
Powered by Listbox: http://www.listbox.com

Reply via email to