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

Olivier Thauvin nanardon at nanardon.zarb.org
Wed Feb 20 21:13:02 CET 2013


* 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.

Regards.

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20130220/d7cfe217/attachment.asc>


More information about the Mageia-dev mailing list