From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com ([74.125.82.48]:36063 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751964AbcF2TQS (ORCPT ); Wed, 29 Jun 2016 15:16:18 -0400 Received: by mail-wm0-f48.google.com with SMTP id f126so193851024wma.1 for ; Wed, 29 Jun 2016 12:16:15 -0700 (PDT) Received: from system (dslb-092-074-022-141.092.074.pools.vodafone-ip.de. [92.74.22.141]) by smtp.gmail.com with ESMTPSA id z5sm126913wme.5.2016.06.29.12.16.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jun 2016 12:16:14 -0700 (PDT) Date: Wed, 29 Jun 2016 21:16:13 +0200 From: Saint Germain To: Btrfs BTRFS Subject: Re: Kernel bug during RAID1 replace Message-ID: <20160629211613.125ce3f0@system> In-Reply-To: References: <20160627233612.662d2a9a@system> <20160628002602.022258bf@system> <20160628010618.58e235fa@system> <20160628024940.3b323b26@system> <20160629005208.5e9addcf@system> <20160629115055.29018e6a@system> <20160629201208.275b37ad@system> <16e65a07-03b6-2540-fc96-3538c5bc5c99@gmail.com> <20160629210217.0e4e4d1c@system> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Wed, 29 Jun 2016 13:08:30 -0600, Chris Murphy wrote : > >> > Ok I will follow your advice and start over with a fresh BTRFS > >> > volume. As explained on another email, rsync doesn't support > >> > reflink, so do you think it is worth trying with BTRFS send > >> > instead ? Is it safe to copy this way or rsync is more reliable > >> > in case of faulty BTRFS volume ? > >> > > >> If you have the space, btrfs restore would probably be the best > >> option. It's not likely, but using send has a risk of contaminating > >> the new filesystem as well. > >> > > > > I have to copy through the network (I am running out of disks...) so > > btrfs restore is unfortunately not an option. > > I didn't know that btrfs send could contaminate the target disk as > > well ? > > Ok rsync it is then. > > restore will let you extract files despite csum errors. I don't think > send will, and using cp or rsync Btrfs definitely won't hand over the > file. > That's Ok I'd prefer to avoid copying files with csum errors anyway (I can restore them from backups). However will btrfs send abort the whole operation as soon as it finds a csum error ? And will I have the risk to "contaminate" the target BTRFS volume by using BTRFS send ? Thanks !