[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-btrfs
Subject:    Re: Workaround for race condition at boot
From:       Mark Rada <markrada26 () gmail ! com>
Date:       2010-03-30 16:03:01
Message-ID: C9E497E0-196F-4FBC-B554-105B4720A667 () gmail ! com
[Download RAW message or body]

Ah, ok, thank you for explaining.

Sent from my iPhone

On 2010-03-30, at 9:08, Chris Mason <chris.mason@oracle.com> wrote:

> 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
--
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic