All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Jon <jmoroney@hawaii.edu>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Raid 1 recovery
Date: Wed, 18 Jan 2017 14:30:28 -0700	[thread overview]
Message-ID: <CAJCQCtRYz9Gcqfc44Je9oqjXx-H-N8nbXp0TuzZcE6SN+ZCm8A@mail.gmail.com> (raw)
In-Reply-To: <cd74d77f-bba5-6301-f0dc-6b2323adebdb@hawaii.edu>

On Wed, Jan 18, 2017 at 2:07 PM, Jon <jmoroney@hawaii.edu> wrote:
> So, I had a raid 1 btrfs system setup on my laptop. Recently I upgraded
> the drives and wanted to get my data back. I figured I could just plug
> in one drive, but I found that the volume simply would not mount. I
> tried the other drive alone and got the same thing. Plugging in both at
> the same time and the volume mounted without issue.

Requires mount option degraded.

If this is a boot volume, this is difficult because the current udev
rule prevents a mount attempt so long as all devices for a Btrfs
volume aren't present.


>
> I used raid 1 because I figured that if one drive failed I could simply
> use the other. This recovery scenario makes me think this is incorrect.
> Am I misunderstanding btrfs raid? Is there a process to go through for
> mounting single member of a raid pool?

mount -o degraded


-- 
Chris Murphy

  reply	other threads:[~2017-01-18 21:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 21:07 Raid 1 recovery Jon
2017-01-18 21:30 ` Chris Murphy [this message]
2017-01-19  7:15   ` Duncan
2017-01-19 10:46     ` Andrei Borzenkov
2017-01-19 19:18     ` Chris Murphy

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=CAJCQCtRYz9Gcqfc44Je9oqjXx-H-N8nbXp0TuzZcE6SN+ZCm8A@mail.gmail.com \
    --to=lists@colorremedies.com \
    --cc=jmoroney@hawaii.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.