From: Robert White <rwhite@pobox.com>
To: kreijack@inwind.it, Phillip Susi <psusi@ubuntu.com>,
linux-btrfs@vger.kernel.org
Subject: Re: [PATCH V2][BTRFS-PROGS] Don't use LVM snapshot device
Date: Mon, 08 Dec 2014 11:22:46 -0800 [thread overview]
Message-ID: <5485FA86.80102@pobox.com> (raw)
In-Reply-To: <5485E1A0.4030602@gmail.com>
On 12/08/2014 09:36 AM, Goffredo Baroncelli wrote:
> I like this approach, but as I wrote before, it seems that
> initramfs executes a "btrfs dev scan".... (see my previoue email
> 'Re: PROBLEM: #89121 BTRFS mixes up mounted devices with their snapshots'
> date 2014/12/03 9:34):
Roll your own for now. I haven't started doing any significant btrfs
specific work on it but the initramfs builder in my project
http://underdog.sourceforge.net might get you past your problem pretty
easily for now. It would be easy to white/black list which devices you
want to submit to scan or mount.
It is plumbed up to look at each storage region one-by-one so you could
assemble your file system that way.
(Note that the eventual point of the project isn't really the initramfs
stuff but that's what I needed more/first.)
It's fairly well documented and I use it for some non-trivially complex
systems but its not (yet) so complex that it's hard to design hooks for it.
next prev parent reply other threads:[~2014-12-08 19:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 18:39 [PATCH V2][BTRFS-PROGS] Don't use LVM snapshot device Goffredo Baroncelli
2014-12-04 18:39 ` [PATCH 1/5] Avoid to consider lvm snapshots when scanning devices Goffredo Baroncelli
2014-12-08 2:02 ` Qu Wenruo
2014-12-08 14:58 ` Goffredo Baroncelli
2014-12-09 0:32 ` Qu Wenruo
2014-12-09 10:27 ` David Sterba
2014-12-09 18:19 ` Goffredo Baroncelli
2014-12-04 18:39 ` [PATCH 2/5] 'btrfs device scan' skips lvm snapshots Goffredo Baroncelli
2014-12-04 18:39 ` [PATCH 3/5] Update 'btrfs device scan' man page Goffredo Baroncelli
2014-12-04 18:39 ` [PATCH 4/5] Add reference to BTRFS_SKIP_LVM_SNAPSHOT environment variable Goffredo Baroncelli
2014-12-04 18:39 ` [PATCH 5/5] Abort in case of device uuid conflict Goffredo Baroncelli
2014-12-05 7:26 ` [PATCH V2][BTRFS-PROGS] Don't use LVM snapshot device Duncan
2014-12-05 18:39 ` Goffredo Baroncelli
2014-12-08 15:30 ` Phillip Susi
2014-12-08 17:36 ` Goffredo Baroncelli
2014-12-08 18:17 ` Phillip Susi
2014-12-08 19:22 ` Robert White [this message]
2014-12-10 7:52 ` Anand Jain
2014-12-10 18:40 ` Goffredo Baroncelli
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=5485FA86.80102@pobox.com \
--to=rwhite@pobox.com \
--cc=kreijack@inwind.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=psusi@ubuntu.com \
/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