From owner-freebsd-fs@freebsd.org Tue May 31 10:15:30 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 5EB2EB54BE2 for ; Tue, 31 May 2016 10:15:30 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26BF71F7B for ; Tue, 31 May 2016 10:15:29 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 201EF153402; Tue, 31 May 2016 12:15:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i5JA7P0YZ3E9; Tue, 31 May 2016 12:15:15 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:f85f:1e7c:9313:d8b2] (unknown [IPv6:2001:4cb8:3:1:f85f:1e7c:9313:d8b2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 1270B1534C6; Tue, 31 May 2016 12:15:15 +0200 (CEST) Subject: Re: ZFS - RAIDZ1 Recovery (Evgeny Sam) To: "Kevin P. Neal" , Evgeny Sam References: <20160530202147.GA40137@neutralgood.org> Cc: freebsd-fs@freebsd.org From: Willem Jan Withagen Message-ID: Date: Tue, 31 May 2016 12:15:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160530202147.GA40137@neutralgood.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 10:15:30 -0000 On 30-5-2016 22:21, Kevin P. Neal wrote: > 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. Might I suggest dd_rescue here? Sort of designed for precisely this problem. Does large bulk transfers, but when in error it reduces blocksize to the sector, and tries several times.... And there are lots of other options. So it is fast and as accurate as it can get. Save my life a few times. --WjW