With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
- The
lvm2initramfs hook now requires theudevhook. - The
use_lvmetad = 1must be set in/etc/lvm/lvm.conf. This is the default now - if you have alvm.conf.pacnewfile, you must merge this change. - You can restrict the volumes that are activated automatically by setting the
auto_activation_volume_listin/etc/lvm/lvm.conf. If in doubt, leave this option commented out. - If you need monitoring (needed for snapshots), run
systemctl enable lvm-monitoring.service. - The
lvmwaitkernel command line option is no longer needed and has no effect.
If you run pacman -Syu and update device-mapper, linux and lvm2 at the same time, you will get an error message that /sbin/dmsetup is missing. Run mkinitcpio -p linux again after the update to avoid any problems.