From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-February/023015.html | 125 +++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-February/023015.html (limited to 'zarb-ml/mageia-dev/2013-February/023015.html') diff --git a/zarb-ml/mageia-dev/2013-February/023015.html b/zarb-ml/mageia-dev/2013-February/023015.html new file mode 100644 index 000000000..45259687b --- /dev/null +++ b/zarb-ml/mageia-dev/2013-February/023015.html @@ -0,0 +1,125 @@ + + + + [Mageia-dev] System doen't boot with LVM + + + + + + + + + +

[Mageia-dev] System doen't boot with LVM

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Wed Feb 20 20:58:01 CET 2013 +

+
+ +
'Twas brillig, and Olivier Thauvin at 20/02/13 18:13 did gyre and gimble:
+> * Colin Guthrie (mageia at colin.guthr.ie) wrote:
+>> If it does fail then ultimately the problem will be in:
+>> /usr/lib/dracut/modules.d/90lvm/module-setup.sh (or one of the utility
+>> functions it uses). It should use "udevadm info" to query the system
+>> about LVM info. You can add debug to the check_lvm function and then
+>> re-run dracut -f foo.img again to see where it bails out.
+>>
+>>
+>> If, however, it works fine on your running system then perhaps the
+>> problem is with the installer lacking some udev rules to properly
+>> capture all the needed metadata in udev database. This will require a
+>> bit more fiddling (i.e. running udevadm info in the installer to look at
+>> the properties it exports about the devices).
+> 
+> I did reproduced the issue.
+> 
+> By changing the end of check() function in
+> /usr/lib/dracut/modules.d/90lvm/module-setup.sh by this:
+> 
+> [[ $hostonly ]] || [[ $mount_needs ]] && {
+>     for_each_host_dev_and_slaves_all check_lvm || return 1
+> }
+> 
+> I got:
+> # cat ./etc/cmdline.d/90lvm.conf
+>  rd.lvm.lv=sagittarius/swap 
+>  rd.lvm.lv=sagittarius/root
+> 
+> Iirc I replaced for_each_host_dev_and_slaves by
+> for_each_host_dev_and_slaves_all.
+> 
+> Honestly I don't understand what it change...
+> 
+> Hope this help.
+
+Yes, that helps a lot.
+
+I'm not sure why it makes a difference (considering my own setup here is
+at least partially similar to yours), but I'll definitely dig into it more.
+
+Can you describe the LVM setup? i.e. how the lvm sits on top of the
+physical disks etc? I really want to try and reproduce the issue so I
+can make a good upstream explanation of the problem with the patch.
+
+Col
+
+
+
+
+-- 
+
+Colin Guthrie
+colin(at)mageia.org
+http://colin.guthr.ie/
+
+Day Job:
+  Tribalogic Limited http://www.tribalogic.net/
+Open Source:
+  Mageia Contributor http://www.mageia.org/
+  PulseAudio Hacker http://www.pulseaudio.org/
+  Trac Hacker http://trac.edgewall.org/
+
+ + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1