linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Root fs on raid1
@ 2010-11-18  6:14 admin
  2010-11-18  6:32 ` Chester
  2010-11-18  6:59 ` Goffredo Baroncelli
  0 siblings, 2 replies; 4+ messages in thread
From: admin @ 2010-11-18  6:14 UTC (permalink / raw)
  To: linux-btrfs

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 ?

Thanks in advance
Bye,
David Arendt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Root fs on raid1
  2010-11-18  6:14 Root fs on raid1 admin
@ 2010-11-18  6:32 ` Chester
  2010-11-18  6:59 ` Goffredo Baroncelli
  1 sibling, 0 replies; 4+ messages in thread
From: Chester @ 2010-11-18  6:32 UTC (permalink / raw)
  To: admin; +Cc: linux-btrfs

You might need to build an initramfs image for your kernel to mount,
to help mount your btrfs filesystem. You may want to read Gentoo's
guide for initramfs

http://en.gentoo-wiki.com/wiki/Initramfs

On Thu, Nov 18, 2010 at 12:14 AM,  <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 b=
trfs ?
>
> 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 =A0http://vger.kernel.org/majordomo-info.html
>
--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Root fs on raid1
  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>
  1 sibling, 1 reply; 4+ messages in thread
From: Goffredo Baroncelli @ 2010-11-18  6:59 UTC (permalink / raw)
  To: admin, linux-btrfs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Root fs on raid1
       [not found]   ` <AANLkTi=hSJkDBQz6pg=a9Wdm28NpJBgBB4snu1XEAQsZ@mail.gmail.com>
@ 2010-11-29 18:02     ` Goffredo Baroncelli
  0 siblings, 0 replies; 4+ messages in thread
From: Goffredo Baroncelli @ 2010-11-29 18:02 UTC (permalink / raw)
  To: Erik Jensen; +Cc: linux-btrfs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-29 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).