24.072125] dracut: Scanning devices sda7 sdb3 sdc1 sdd3 for LVM logical volumes ssd/usr ssd/usr [ 24.102087] dracut: inactive '/dev/tempvg/temp' [1.82 TiB] inherit [ 24.104123] dracut: inactive '/dev/storage/enc-stor' [1.46 TiB] inherit [ 24.105531] dracut: inactive '/dev/ssd/portage' [512.00 MiB] inherit [ 24.105656] dracut: inactive '/dev/ssd/opt' [5.62 GiB] inherit [ 24.105770] dracut: ACTIVE '/dev/ssd/usr' [20.00 GiB] inherit [ 24.107381] dracut: Partial mode. Incomplete logical volumes will be processed. 33.735528] dracut Warning: Could not boot. [ 33.736033] dracut Warning: /dev/mapper/crypt-swap does not exist + '[' -f /run/initramfs/init.log ']' =sys-kernel/dracut-031-r1 works fine. I use these kernel options: kernel /vmlinuz rd.lvm.lv=ssd/usr root=UUID=6efd858c-8237-40b8-9931-1aa1f27bba0b rootflags=rw,relatime,user_xattr,barrier=1,data=ordered rootfstype=ext4
USE="device-mapper" DRACUT_MODULES="caps gensplash lvm"
(In reply to cyberbat from comment #0) > 33.735528] dracut Warning: Could not boot. > [ 33.736033] dracut Warning: /dev/mapper/crypt-swap does not exist ... > kernel /vmlinuz rd.lvm.lv=ssd/usr > root=UUID=6efd858c-8237-40b8-9931-1aa1f27bba0b > rootflags=rw,relatime,user_xattr,barrier=1,data=ordered rootfstype=ext4 Why it waits for activation of /dev/mapper/crypt-swap? Do you have a "kernel_cmdline" option in dracut.conf or dracut.conf.d?
(In reply to Alexander Tsoy from comment #2) > (In reply to cyberbat from comment #0) > > 33.735528] dracut Warning: Could not boot. > > [ 33.736033] dracut Warning: /dev/mapper/crypt-swap does not exist > ... > > kernel /vmlinuz rd.lvm.lv=ssd/usr > > root=UUID=6efd858c-8237-40b8-9931-1aa1f27bba0b > > rootflags=rw,relatime,user_xattr,barrier=1,data=ordered rootfstype=ext4 > > Why it waits for activation of /dev/mapper/crypt-swap? Do you have a > "kernel_cmdline" option in dracut.conf or dracut.conf.d? I don't have kernel_cmdline option in dracut.conf nor in dracut.conf.d. I have crypt-swap configuration in conf.d/dmcrypt: swap=crypt-swap source='/dev/raid0/swap' and fstab: /dev/mapper/crypt-swap none swap sw 0 0 "swap" is logical volume of "raid0" volume group which is located on raid0 mdraid array.
(In reply to cyberbat from comment #3) Please generate initramfs with dracut-033-r1 and post the output of following commands: # lsinitrd /path/to/initramfs | grep 'hooks/emergency' # dracut --print-cmdline
I think you can ignore my previous comment. Looks like possible workarounds/solutions would be: 1. Create a fake /etc/crypttab: # echo 'crypt-swap /dev/raid0/swap /dev/urandom swap' > /etc/crypttab Then dracut will not include this device into host_devs stack. (Also see bug 429966 - I hope the migration will ever happen. :) ) 2. Wait for upstream fix of "- remove wait for swap devs, if no "resume=" is given on the kernel command line" http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/TODO 3. Activate encryted swap in initramfs.
And message "Partial mode. Incomplete logical volumes will be processed." is not related to this issue. It's just a warning shown by lvm when --partial option is passed.
Any news on this bug? Does adding swap to /etc/crypttab help?
@cyberbat: Any news on the bug?