<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [Mageia-dev] System doen't boot with LVM </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20System%20doen%27t%20boot%20with%20LVM&In-Reply-To=%3C51262534.2060709%40colin.guthr.ie%3E"> <META NAME="robots" CONTENT="index,nofollow"> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="023035.html"> <LINK REL="Next" HREF="022952.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Mageia-dev] System doen't boot with LVM</H1> <B>Colin Guthrie</B> <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20System%20doen%27t%20boot%20with%20LVM&In-Reply-To=%3C51262534.2060709%40colin.guthr.ie%3E" TITLE="[Mageia-dev] System doen't boot with LVM">mageia at colin.guthr.ie </A><BR> <I>Thu Feb 21 14:46:28 CET 2013</I> <P><UL> <LI>Previous message: <A HREF="023035.html">[Mageia-dev] System doen't boot with LVM </A></li> <LI>Next message: <A HREF="022952.html">[Mageia-dev] System doen't boot with LVM </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#23042">[ date ]</a> <a href="thread.html#23042">[ thread ]</a> <a href="subject.html#23042">[ subject ]</a> <a href="author.html#23042">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>'Twas brillig, and Colin Guthrie at 21/02/13 11:08 did gyre and gimble: ><i> 'Twas brillig, and Colin Guthrie at 20/02/13 23:19 did gyre and gimble: </I>>><i> 'Twas brillig, and Olivier Thauvin at 20/02/13 20:13 did gyre and gimble: </I>>>><i> * Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote: </I>>>>><i> 'Twas brillig, and Olivier Thauvin at 20/02/13 18:13 did gyre and gimble: </I>>>>>><i> * Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote: </I>>>>>><i> </I>>>>>><i> Iirc I replaced for_each_host_dev_and_slaves by </I>>>>>><i> for_each_host_dev_and_slaves_all. </I>>>>>><i> </I>>>>>><i> Honestly I don't understand what it change... </I>>>>>><i> </I>>>>>><i> Hope this help. </I>>>>><i> </I>>>>><i> Yes, that helps a lot. </I>>>>><i> </I>>>>><i> I'm not sure why it makes a difference (considering my own setup here is </I>>>>><i> at least partially similar to yours), but I'll definitely dig into it more. </I>>>>><i> </I>>>>><i> Can you describe the LVM setup? i.e. how the lvm sits on top of the </I>>>>><i> physical disks etc? I really want to try and reproduce the issue so I </I>>>>><i> can make a good upstream explanation of the problem with the patch. </I>>>><i> </I>>>><i> Sure, my disk is a SSD: </I>>>><i> </I>>>><i> Device Boot Start End Blocks Id System </I>>>><i> /dev/sda1 63 80324 40131 de Dell Utility </I>>>><i> /dev/sda2 * 81920 1622015 770048 7 HPFS/NTFS/exFAT </I>>>><i> /dev/sda3 1622016 124499967 61438976 7 HPFS/NTFS/exFAT </I>>>><i> /dev/sda4 124502016 500105215 187801600 5 Extended </I>>>><i> /dev/sda5 124506112 125547974 520931+ 83 Linux </I>>>><i> /dev/sda6 125550592 500103449 187276429 8e Linux LVM </I>>>><i> </I>>>><i> </I>>>><i> /dev/sda5 = /boot </I>>>><i> </I>>>><i> /dev/sda6 = the whole lvm </I>>>><i> </I>>>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at localhost</A> foo]# lvs </I>>>><i> LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert </I>>>><i> crypt sagittarius -wi-ao--- 141,01g </I>>>><i> root sagittarius -wi-ao--- 12,77g </I>>>><i> swap sagittarius -wi-ao--- 3,91g </I>>>><i> tmp sagittarius -wi-ao--- 3,00g </I>>>><i> var sagittarius -wi-ao--- 1,95g </I>>>><i> </I>>>><i> the "crypt" lv is my /home: </I>>>><i> </I>>>><i> /dev/mapper/crypt_sagittarius_crypt on /home type ext4 (rw,noatime,commit=600,data=ordered) </I>>>><i> </I>>>><i> Don't hesitate if you need more output, especially device and dm number. </I>>>><i> </I>>>><i> I can produce debug output of dracut too if necessary. </I>>><i> </I>>><i> </I>>><i> If you could supply debug output when generating initrd both with the </I>>><i> packaged version and your patched version that would be very useful and </I>>><i> may allow me to avoid having to exactly duplicate the setup!! </I>><i> </I>><i> Actually no need for debug output. I spoke to Harald upstream and he </I>><i> reckoned your change is indeed correct and required. I'll patch our </I>><i> package shortly. </I>><i> </I>><i> Thank you very much for debugging this and being so patient :) </I> commit 7d4d3f8da624ccc27798b01fdd0f3c594267f53a (HEAD, origin/master, origin/HEAD, master) Author: Harald Hoyer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">harald at ...</A>> Date: Thu Feb 21 12:07:34 2013 +0100 lvm/module-setup.sh: use for_each_host_dev_and_slaves_all Use for_each_host_dev_and_slaves_all to get all lvm setups for the host-only case. Thanks to Olivier Thauvin Available soon in dracut-025-4.mga3. Thanks again! Col -- Colin Guthrie colin(at)mageia.org <A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> Day Job: Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> Open Source: Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="023035.html">[Mageia-dev] System doen't boot with LVM </A></li> <LI>Next message: <A HREF="022952.html">[Mageia-dev] System doen't boot with LVM </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#23042">[ date ]</a> <a href="thread.html#23042">[ thread ]</a> <a href="subject.html#23042">[ subject ]</a> <a href="author.html#23042">[ author ]</a> </LI> </UL> <hr> <a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev mailing list</a><br> </body></html>