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

Colin Guthrie mageia at colin.guthr.ie
Thu Feb 21 00:19:03 CET 2013


'Twas brillig, and Olivier Thauvin at 20/02/13 20:13 did gyre and gimble:
> * Colin Guthrie (mageia at colin.guthr.ie) wrote:
>> 'Twas brillig, and Olivier Thauvin at 20/02/13 18:13 did gyre and gimble:
>>> * Colin Guthrie (mageia at colin.guthr.ie) wrote:
>>>
>>> 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.
> 
> Sure, my disk is a SSD:
> 
>    Device Boot      Start         End      Blocks   Id  System
>    /dev/sda1              63       80324       40131   de  Dell Utility
>    /dev/sda2   *       81920     1622015      770048    7  HPFS/NTFS/exFAT
>    /dev/sda3         1622016   124499967    61438976    7  HPFS/NTFS/exFAT
>    /dev/sda4       124502016   500105215   187801600    5  Extended
>    /dev/sda5       124506112   125547974      520931+  83  Linux
>    /dev/sda6       125550592   500103449   187276429   8e  Linux LVM
> 
> 
> /dev/sda5 = /boot
> 
> /dev/sda6 = the whole lvm
> 
> [root at localhost foo]# lvs
>   LV    VG          Attr      LSize   Pool Origin Data%  Move Log Copy% Convert
>     crypt sagittarius -wi-ao--- 141,01g                                           
>     root  sagittarius -wi-ao---  12,77g                                           
>     swap  sagittarius -wi-ao---   3,91g                                           
>     tmp   sagittarius -wi-ao---   3,00g                                           
>     var   sagittarius -wi-ao---   1,95g
> 
> the "crypt" lv is my /home:
> 
> /dev/mapper/crypt_sagittarius_crypt on /home type ext4 (rw,noatime,commit=600,data=ordered)
> 
> Don't hesitate if you need more output, especially device and dm number.
> 
> I can produce debug output of dracut too if necessary.


If you could supply debug output when generating initrd both with the
packaged version and your patched version that would be very useful and
may allow me to avoid having to exactly duplicate the setup!!

Cheers

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