Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.net>
To: Rich Gannon <rich@richgannon.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Can't add/replace a device on degraded filesystem
Date: Sat, 31 Dec 2016 13:08:40 +0500	[thread overview]
Message-ID: <20161231130840.45e7230f@natsu> (raw)
In-Reply-To: <86f5b7b9-b54e-8b80-26a9-6f13f3609a7b@richgannon.net>

On Thu, 29 Dec 2016 19:27:30 -0500
Rich Gannon <rich@richgannon.net> wrote:

> I can mount my filesystem with -o degraded, but I can not do btrfs 
> replace or btrfs device add as the filesystem is in read-only mode, and 
> I can not mount read-write.

You can try my patch which removes that limitation 
https://patchwork.kernel.org/patch/9419189/

Also as Duncan said there's a "more proper" patch to fix this in the works
somewhere, which does a per-chunk check for degraded, and would also allow to
mount the FS read-write in your case.

-- 
With respect,
Roman

      parent reply	other threads:[~2016-12-31  8:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30  0:27 Can't add/replace a device on degraded filesystem Rich Gannon
2016-12-31  4:21 ` Duncan
2016-12-31  8:08 ` Roman Mamedov [this message]

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=20161231130840.45e7230f@natsu \
    --to=rm@romanrm.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=rich@richgannon.net \
    /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