public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jean-Sébastien Trottier" <jst1@email.com>
To: jim owens <jowens@hp.com>
Cc: Andi Drebes <lists-receive@programmierforen.de>,
	linux-btrfs@vger.kernel.org
Subject: Re: Unable to mount loopback devices in RAID mode
Date: Fri, 27 Nov 2009 00:33:38 -0500	[thread overview]
Message-ID: <20091127053336.GD25509@jsoft.dyndns.org> (raw)
In-Reply-To: <200911202022.19306.lists-receive@programmierforen.de>

Hi Jim,

In the case of RAID1 (or even RAID10), what happens if loop0 is the
current master but is corrupted/dead and you want to mount loop1 to
recover your data?

Thanks,
JST.

On Fri, Nov 20, 2009 at 08:22:18PM +0100, Andi Drebes wrote:
> Hi!
> 
> > The problem is btrfs randomly changes the "current master"
> > superblock of the filesystem.  Only 1 of the devices will
> > be mountable.  You just have to try the other ones, like:
> > 
> >  > $ mount -t btrfs /dev/loop0 /mnt/btrfs
> >  > mount: wrong fs type, bad option, bad superblock on /dev/loop0,
> > 
> > $ mount -t btrfs /dev/loop1 /mnt/btrfs
> > 
> > until you find one that works.
> Thanks for the hint.
> 
> 	Cheers,
> 		Andi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2009-11-27  5:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 19:26 Unable to mount loopback devices in RAID mode Andi Drebes
2009-11-19 23:35 ` jim owens
2009-11-20 19:22   ` Andi Drebes
2009-11-27  5:33     ` Jean-Sébastien Trottier [this message]
2009-11-27 15:57       ` jim owens
2009-11-30  4:28         ` Jean-Sébastien Trottier
2009-11-30 13:09           ` jim owens
2009-11-30 19:25             ` Andi Drebes
2009-12-01  5:56               ` TARUISI Hiroaki
2009-12-01 10:27                 ` Leszek Ciesielski
2009-12-01 23:52                   ` TARUISI Hiroaki

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=20091127053336.GD25509@jsoft.dyndns.org \
    --to=jst1@email.com \
    --cc=jowens@hp.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists-receive@programmierforen.de \
    /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