linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lluís Batlle i Rossell" <viric@viric.name>
To: Goffredo Baroncelli <kreijack@gmail.com>
Cc: Btrfs mailing list <linux-btrfs@vger.kernel.org>
Subject: Re: Can't replace a faulty disk of raid1
Date: Fri, 26 Oct 2012 15:23:59 +0200	[thread overview]
Message-ID: <20121026132359.GW2052@vicerveza.homeunix.net> (raw)
In-Reply-To: <CAJHuE_CDmQhKt0i18WsFxVj_-hPNiAL6_fhkdt1b+eQnCUoDhw@mail.gmail.com>

On Fri, Oct 26, 2012 at 01:41:58PM +0200, Goffredo Baroncelli wrote:
> Hi Luis
> 
> On Fri, Oct 26, 2012 at 12:59 PM, Lluís Batlle i Rossell
> <viric@viric.name> wrote:
> [...]
> >>
> >> I tried to remove the missing device, and it said "Input/output error" after a
> >> while. Next attempts simply gave "Invalid argument".
> 
> Todate BTRFS is not capable to remove (via btrfs device delete <path>)
> a missing disk. The user has to unmount the filesystem and remount-it
> in "degraded" mode.

Of course I was doing all I reported with the filesystem in degraded mount. The mount
log showed that. :)

I simply did the proper degraded mount at initrd time.

Regards,
Lluís.

  reply	other threads:[~2012-10-26 13:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 10:57 Can't replace a faulty disk of raid1 Lluís Batlle i Rossell
2012-10-26 10:59 ` Lluís Batlle i Rossell
2012-10-26 11:41   ` Goffredo Baroncelli
2012-10-26 13:23     ` Lluís Batlle i Rossell [this message]
2012-10-31 18:50 ` Lluís Batlle i Rossell

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=20121026132359.GW2052@vicerveza.homeunix.net \
    --to=viric@viric.name \
    --cc=kreijack@gmail.com \
    --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).