Bug#752381: initramfs-tools: does not activate logical volume - two obversations

Martin Steigerwald martin at lichtvoll.de
Sun Mar 29 11:21:24 UTC 2015


Am Samstag, 28. März 2015, 14:33:04 schrieb Felix Zielcke:
> On Mon, 23 Jun 2014 10:34:02 +0200 Martin Steigerwald 
<Martin at lichtvoll.de> wrote:
> > Hi!
> > 
> > I bzr diff on /boot/grub/grub.cfg revealed – but already from last
> > week as I upgraded to the newer backport initramfs-tools, where
> > booting still worked> 
> > okay:
> >  menuentry 'Debian GNU/Linux, mit Linux 3.2.0-4-686-pae' --class
> >  debian --> 
> > class gnu-linux --class gnu --class os {
> > 
> >         load_video
> >         insmod gzio
> > 
> > @@ -67,7 +90,7 @@
> > 
> >         set root='(hd0,msdos1)'
> >         search --no-floppy --fs-uuid --set=root [UUID]
> >         echo    'Linux 3.2.0-4-686-pae wird geladen …'
> > 
> > -       linux   /vmlinuz-3.2.0-4-686-pae
> > root=/dev/mapper/mondschein-debian ro +       linux  
> > /vmlinuz-3.2.0-4-686-pae root=UUID=[UUID ro
> 
> Does your LV has multiple PVs assigned to it?
> Then this would be the same as bug #735935

Well, the VG is spread over two PVs:

mondschein:~> pvs
  PV         VG         Fmt  Attr PSize  PFree  
  /dev/sda2  mondschein lvm2 a--   9,77g 784,00m
  /dev/sdb2  mondschein lvm2 a--  49,75g  19,75g

Yet the volume is only on one:

mondschein:~> lvdisplay --maps /dev/mondschein/debian 
  --- Logical volume ---
  LV Path                /dev/mondschein/debian
  LV Name                debian
  VG Name                mondschein
  LV UUID                t0GGvj-OZvH-LfvT-14Rm-THYn-tNhI-NNc3mC
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                3,00 GiB
  Current LE             768
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
   
  --- Segments ---
  Logical extent 0 to 511:
    Type                linear
    Physical volume     /dev/sda2
    Physical extents    0 to 511
   
  Logical extent 512 to 767:
    Type                linear
    Physical volume     /dev/sda2
    Physical extents    1018 to 1273

As I understand bug #735935 is when LV is found twice. Well I think it is 
only reachable via one path.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7



More information about the Pkg-grub-devel mailing list