linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jérôme Carretero" <cJ-ko@zougloub.eu>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Issues while doing btrfs delete missing in raid6
Date: Mon, 20 Nov 2017 01:54:50 -0500	[thread overview]
Message-ID: <20171120015450.03b6beea@Vantage.cJ> (raw)
In-Reply-To: <20171120014344.7a5d8bd2@Vantage.cJ>

On Mon, 20 Nov 2017 01:43:44 -0500
Jérôme Carretero <cJ-ko@zougloub.eu> wrote:

> Hi,
> 
> 
> While doing a test (to evaluate drives), where I'm filling a bunch of
> drives in RAID6, one of the disks failed in the process.
> (System with v4.14 / ECC).
> I remounted the array in degraded, launched a "btrfs delete missing"
> as I have no replacement device.
> 
> The command (takes ages and) fails with:
>  ERROR: error removing device 'missing': Input/output error

> Since this is RAID6, I wasn't expecting to not be able to recover
> from a checksum issue, also it's not very practical to bail out on
> the first error of this kind during a delete... the offending blocks
> could be left as is.

While doing a "tar c /mnt/test | pv >/dev/null" I see the csum errors,
but they are corrected then.
I guess I'll try to scrub and see. But there's probably a bug, if
delete/replace/balance can't do that.


Regards,

-- 
Jérôme


  reply	other threads:[~2017-11-20  6:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-20  6:43 Issues while doing btrfs delete missing in raid6 Jérôme Carretero
2017-11-20  6:54 ` Jérôme Carretero [this message]
2017-11-20  7:13 ` Qu Wenruo
2017-11-20 21:57 ` Duncan
2017-11-21  1:06   ` Jérôme Carretero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171120015450.03b6beea@Vantage.cJ \
    --to=cj-ko@zougloub.eu \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).