From owner-freebsd-fs@freebsd.org Tue May 31 07:33:32 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 0A34AB5564D for ; Tue, 31 May 2016 07:33:32 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: from hades.sorbs.net (mail.sorbs.net [67.231.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id F253D12DE for ; Tue, 31 May 2016 07:33:31 +0000 (UTC) (envelope-from michelle@sorbs.net) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0O8100J513VX6J00@hades.sorbs.net> for freebsd-fs@freebsd.org; Mon, 30 May 2016 23:40:47 -0700 (PDT) Subject: Re: ZFS - RAIDZ1 Recovery (Evgeny Sam) To: "Kevin P. Neal" , Evgeny Sam Cc: freebsd-fs@freebsd.org References: <20160530202147.GA40137@neutralgood.org> From: Michelle Sullivan Message-id: <574D3032.9040008@sorbs.net> Date: Tue, 31 May 2016 08:33:22 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 In-reply-to: <20160530202147.GA40137@neutralgood.org> 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: Tue, 31 May 2016 07:33:32 -0000 Kevin P. Neal wrote: > On Sun, May 29, 2016 at 07:31:29AM -0700, Evgeny Sam wrote: >> I clonned the drives as follows: >> 1. Created bit-to-bit images with R-Studio (I was hoping to use it to >> restore the data) >> 2. Restored the images to the new drives > A quick check of their web site shows zero support for ZFS. > > There are several good ways to duplicate a disk, and at the top of the > list are tools known to the people you are going to need help from. That > means using the 'dd' command to duplicate the entire disk including the > GPT labels. Or use something from Polytropon's list posted to these lists > (usually the questions list mostly) every so often. > > The dd command when given the "conv=noerror,sync" option can be used to > duplicate an entire disk. Then a ZFS scrub can correct the lost blocks. You know it has occurred to me on more than one occasion that having a disk added for online replacement of a failed disk, and using zfs replace, it's surprising that internal to zfs it doesn't try exactly that... bit/sector copy the drive from the old to the new replacement before switching to a scrub... if it did it would, on my system, cut the resilver time from 10 days to however long it takes for 3T of data to copy (likely <24hrs). > > Does R-Studio copy the entire disk including GPT specific parts, or does > it copy partitions of disks? It isn't obvious which one it does from your > description. > It does both (either) - depending on how you start it. The lack of support for zfs is a lack of being able to read and recover the contents of a zfs disk... nothing more nothing less. (I have R-Studio here and have used it in anger many times.) -- Michelle Sullivan http://www.mhix.org/