[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686130: further comments on grub/initramfs issue








initramfs contains the init script.  It accepts one of these syntaxes:

  root=UUID=xxxx
  root=LABEL=xxxx
  root=/dev/mapper/vg-lv   (and other non-LVM devices of course)

If the root=/dev/mapper syntax is used, the lvm2 scripts only lvchange
activate that LV

Whether my patch is accepted or not, there appear to be only three
viable ways to ensure all necessary LVs are active:


a) ALL the logical volumes must be active before the btrfs dev scan
(e.g. using my patch and UUID, or maybe some new config parameter within
lvm.conf that says `activate_all = true')


b) the root= parameter must be extended to include a list of all root
devices that btrfs will need, and all the initramfs logic must be
adapted to handle this new root= parameter


c) some extra config file must be embedded into the initramfs with a
list of the LVs that must be activated


Reply to: