From: Chris Mason <chris.mason@oracle.com>
To: Mark Rada <marada@uwaterloo.ca>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Workaround for race condition at boot
Date: Tue, 30 Mar 2010 09:08:02 -0400 [thread overview]
Message-ID: <20100330130802.GF13190@think> (raw)
In-Reply-To: <9A0AC2A7-90F9-4B80-AF0F-8C65083DE1B5@mailservices.uwaterloo.ca>
On Mon, Mar 29, 2010 at 10:40:12PM -0400, Mark Rada wrote:
> Hi,
>
> In my time playing around with btrfs I have had difficulty in mounting and btrfs partitions that use multiple devices. I'm aware that there is a note about a gotcha on the wiki, but I'm not trying to mount the btrfs partition as the root.
>
> However, I have noticed that if I force a btrfs filesystem scan before trying to mount, then everything will work.
>
> I originally created a bug report on the Gentoo Bugzilla:
> http://bugs.gentoo.org/show_bug.cgi?id=309219
>
This isn't a race condition, it is built into the filesystem. Later
versions of btrfs progs will pull the details right out of udev instead
of needing btrfsctl -a, but today the btrfsctl -a is the only way.
This is similar to what needs to happen on lvm, its just that the
initramfs tools already understand lvm ;)
-chris
next prev parent reply other threads:[~2010-03-30 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 2:40 Workaround for race condition at boot Mark Rada
2010-03-30 13:08 ` Chris Mason [this message]
2010-03-30 16:03 ` Mark Rada
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=20100330130802.GF13190@think \
--to=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=marada@uwaterloo.ca \
/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.