From owner-freebsd-fs@freebsd.org Fri May 27 07:38:57 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FB73B4C168 for ; Fri, 27 May 2016 07:38:57 +0000 (UTC) (envelope-from esamorokov@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AAB21AE1 for ; Fri, 27 May 2016 07:38:57 +0000 (UTC) (envelope-from esamorokov@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id p64so26586072ioi.2 for ; Fri, 27 May 2016 00:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=+PTzV2Lnhx3peWFpD+DqiApjweertZBulPvQb9QBVjQ=; b=CqcvaEdfdFypmxX5AD2dJDvsHn/HcywSDpqaXmGjHDB5RgpOqVsIGLQaZcZq9DZ2ki uMwfyLUfCyPrWIo5vSShVzq18MbsgBq7R5cXFUd0ml7TPk4BdlWfAjtkTgNb+eU4CQfq vxdx1NqCIPrN//egjphOQpditDcUGbdrma24Y6Wh7Ukm5S8xuQ83q0wI+CSluv/7/r7P jeFH8gi3/MGq9lo2k6fG9Reo3nJeipPD0UuoZmRSc6yc3CQUe175PUdeK6BrBFFGn1Z+ E40XUb/jVNv6UOq/Y5zkg7Qs/sbkkR6Md0LeQ8C2C67EqQpvnaeJh6rmJ3rREDUAfcmr 1pEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=+PTzV2Lnhx3peWFpD+DqiApjweertZBulPvQb9QBVjQ=; b=BSgBxSqV/M7PCt2PL25OPOX5aoOh+5A8DIYQ81dUCmGd48HK1HrBRK96jACSuk1Wlp Zv5zQnLQ2axbeuPK6v22HVcL4Bs99S8q5uNGOySSizrk6Tn8OZAIGuBIxWMSQsBTFCGQ AxWe3ALRTkVW7KxbvByAv6tBaKw+XzlazzvLf684p+IvQhxvyncOkb6eCQPCDTyCGY3p IY2sk2Rx2+F+lVD+JJQkHko3LVV8lmhDZsSsJ7H5+p1ULmcvXUy7niFdJDl4kJU+rAuz UX+H41E0S3CyElJikl2F7u5lnwlbgwdmL5P85Z/iQQkM8d+AglPjg2jyZxgbGIj0rnaS ZqVA== X-Gm-Message-State: ALyK8tIu1FgSSzq0ZRnCdurHjTjkk1BJTW7H6zcrKGZXMAz0qTdTs561jLGrhjOa2lTzZQUgNsNnClvQokj44A== MIME-Version: 1.0 X-Received: by 10.107.131.105 with SMTP id f102mr12274966iod.136.1464334736606; Fri, 27 May 2016 00:38:56 -0700 (PDT) Received: by 10.107.154.16 with HTTP; Fri, 27 May 2016 00:38:56 -0700 (PDT) Received: by 10.107.154.16 with HTTP; Fri, 27 May 2016 00:38:56 -0700 (PDT) In-Reply-To: <3af5eba4-4e04-abc4-9fa7-d0a1ce47747e@internetx.com> References: <5747780A.5000809@gmail.com> <3af5eba4-4e04-abc4-9fa7-d0a1ce47747e@internetx.com> Date: Fri, 27 May 2016 00:38:56 -0700 Message-ID: Subject: Re: ZFS - RAIDZ1 Recovery From: Evgeny Sam To: jg@internetx.com Cc: BlackCat , freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 07:38:57 -0000 Hi, I don't know if it helps, but right after I recreated the pool with absolute paths of the drives (adaX) I made a bit-to-bit image copy of the drives. Now I am restoring those images to the NEW DRIVES (similar models). Thank you, Evgeny. On May 27, 2016 12:30 AM, "InterNetX - Juergen Gotteswinter" < jg@internetx.com> wrote: > Hi, > > after scrolling through the "History" i would wonder if its not > completely messed up now. Less is more in such Situations.. > > Juergen > > Am 5/27/2016 um 12:26 AM schrieb esamorokov: > > Hello All, > > > > 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. > > > > I AM KINDLY ASKING FOR HELP! The pool had all of the family memories > > for many years :( Thanks in advance! > > > > I am not a FreeBSD guru and have been using ZFS for a couple of > > years, but I know Linux and do some programming/scripting. > > Since I got that incident I started learning the depth of the ZFS, > > but I definitely need help on it at this point. > > Please don't ask me why I did not have backups, I was building > > backup server in my garage, when it happened > > > > 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) > > > > > > Specs: > > OS: FreeBSD 9.2-RELEASE (FREENAS.amd64) #0 r+2315ea3: Fri Dec 20 > > 12:48:50 PST 2013 > > RAID: [root@juicy] ~# camcontrol devlist > > at scbus1 target 0 lun 0 > > (pass1,ada1) > > at scbus2 target 0 lun 0 > > (ada2,pass2) > > at scbus3 target 0 lun 0 > > (pass3,ada3) > > [root@juicy] ~# zdb > > zh_vol: > > version: 5000 > > name: 'zh_vol' > > state: 0 > > txg: 14106447 > > pool_guid: 2918670121059000644 > > hostid: 1802987710 > > hostname: '' > > vdev_children: 1 > > vdev_tree: > > type: 'root' > > id: 0 > > guid: 2918670121059000644 > > create_txg: 4 > > children[0]: > > type: 'raidz' > > id: 0 > > guid: 14123440993587991088 > > nparity: 1 > > metaslab_array: 34 > > metaslab_shift: 36 > > ashift: 12 > > asize: 8995321675776 > > is_log: 0 > > create_txg: 4 > > children[0]: > > type: 'disk' > > id: 0 > > guid: 17624020450804741401 > > path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' > > whole_disk: 1 > > DTL: 137 > > create_txg: 4 > > children[1]: > > type: 'disk' > > id: 1 > > guid: 3253299067537287428 > > path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' > > whole_disk: 1 > > DTL: 133 > > create_txg: 4 > > children[2]: > > type: 'disk' > > id: 2 > > guid: 17999524418015963258 > > path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' > > whole_disk: 1 > > DTL: 134 > > create_txg: 4 > > features_for_read: > > > > > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > >