linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@libero.it>
To: Erik Jensen <eriksjunk@rkjnsn.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Root fs on raid1
Date: Mon, 29 Nov 2010 19:02:44 +0100	[thread overview]
Message-ID: <201011291902.45064.kreijack@libero.it> (raw)
In-Reply-To: <AANLkTi=hSJkDBQz6pg=a9Wdm28NpJBgBB4snu1XEAQsZ@mail.gmail.com>

On Monday, 29 November, 2010, you (Erik Jensen) wrote:
> I have a similar setup on one of my computers.  I set it up a while ago
> using an initramfs, but I could not get the device scan to work properly,
> for whatever reason.  I ended up having it just trying to mount every device
> in the array in turn.  When it gets to the last device, the array mounts
> since btrfs now knows about all of the other ones.  Really ugly, I know, but
> it works.
>

I also had a lot of problem to get a btrfs-aware initramfs working properly. 
One of the biggest proble was to find the right list of modules. Btrfs depends 
by crc32c, and I need a lot of retries to discover it.

The main problem was that if the module is not available (it is the case of a 
initramfs) btrfs doesn't start...

When you say " it just trying to mount every device in the array in turn", do 
you mean in the initarmfs ?



> -- Erik Jensen
> 
> On Wed, Nov 17, 2010 at 10:59 PM, Goffredo Baroncelli 
<kreijack@libero.it>wrote:
> 
> > On Thursday, 18 November, 2010, admin@prnet.org wrote:
> > > Hi,
> > >
> > > I have read that for using raid1 btrfs device scan must be run before
> > mounting the fs. How do I proceed if root filesystem is mounted from btrfs
> > ?
> > >
> >
> >
> > See a my previous post
> >
> > http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg04709.html
> >
> >
> > > Thanks in advance
> > > Bye,
> > > David Arendt
> > >
> > > --
> > > 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
> > >
> >
> >
> > --
> > gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <
> > kreijack@inwind.it>
> > Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
> > --
> > 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
> >
> 


-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

      parent reply	other threads:[~2010-11-29 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18  6:14 Root fs on raid1 admin
2010-11-18  6:32 ` Chester
2010-11-18  6:59 ` Goffredo Baroncelli
     [not found]   ` <AANLkTi=hSJkDBQz6pg=a9Wdm28NpJBgBB4snu1XEAQsZ@mail.gmail.com>
2010-11-29 18:02     ` Goffredo Baroncelli [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=201011291902.45064.kreijack@libero.it \
    --to=kreijack@libero.it \
    --cc=eriksjunk@rkjnsn.net \
    --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).