From: Alexander Tsoy <alexander@tsoy.me>
To: lvm-devel@redhat.com
Subject: lvmetad activation problem with MD devices
Date: Mon, 30 Sep 2013 22:18:59 +0400 [thread overview]
Message-ID: <20130930221859.45328e01@work.puleglot> (raw)
In-Reply-To: <20130930203615.59bfd346@work.puleglot>
? Mon, 30 Sep 2013 20:36:15 +0400
Alexander Tsoy <alexander@tsoy.me> ?????:
> Hello.
>
> Commit 8d1d83504dcf9c86ad42d34d3bd0b201d7bab8f6 introduced the
> following problem. If MD device is assembled in initramfs and some LVs
> on it are not activated, then those LVs still not activated during
> system boot.
>
> This, for example, breaks setups where initramfs is generated with
> dracut and LVs selectively activated using "rd.lvm.lv" kernel cmdline
> option.
>
Just an example.
Setup:
md0 -> vg00 -> { lv00, lv01, lv02, lv03 }
md1 -> vg01 -> { lv04, lv05 }
Dracut options passed to the kernel cmdline:
rd.md.uuid=<UUID_of_md0> rd.lvm.lv=vg00/lv00 rd.lvm.lv=vg00/lv01
What happens in initramfs:
- md0 is assembled
- vg00/lv00 and vg00/lv01 are activated
What happens during system boot:
- md1 is assembled
- vg01/lv04 and vg01/lv05 are activated
vg00/lv02 and vg00/lv03 are not activated.
--
Alexander Tsoy
next prev parent reply other threads:[~2013-09-30 18:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-30 16:36 lvmetad activation problem with MD devices Alexander Tsoy
2013-09-30 18:18 ` Alexander Tsoy [this message]
2013-10-01 7:05 ` Peter Rajnoha
2013-10-01 11:24 ` Peter Rajnoha
2013-10-01 13:50 ` Alexander Tsoy
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=20130930221859.45328e01@work.puleglot \
--to=alexander@tsoy.me \
--cc=lvm-devel@redhat.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 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.