X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=7638ecca97edf38059723f8a3c19305b52f272a3;hp=da09d89c85faf236dad4b7e66bda40c1e6acbbaa;hb=20365ddcfab071d7447b346a6ebf804b56d394b6;hpb=5086a8bf8d7ab099ba71c04967a1671a61ed5eb8 diff --git a/autoconfig.functions b/autoconfig.functions index da09d89..7638ecc 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1717,15 +1717,17 @@ config_lvm(){ einfo "You seem to have logical volumes (LVM) on your system." eindent if $SYSTEMD ; then - einfo "Just run 'Start lvm2-lvmetad' to activate them or boot using 'lvm' as bootoption for autostart." + einfo "Just run 'Start lvm2-pvscan@name' to activate LV or VG 'name' or boot using 'lvm' as bootoption for autostart." else einfo "Just run 'Start lvm2' to activate them or boot using 'lvm' as bootoption for autostart." fi eend 0 if checkbootparam 'lvm' ; then - einfo "Bootoption LVM found. Searching for logical volumes:" + einfo "Bootoption LVM found. Searching for logical volumes and enabling them:" if $SYSTEMD ; then - service_wrapper lvm2-lvmetad start ; eend $? + service_wrapper lvm2-lvmetad start + vgchange -ay + eend $? else service_wrapper lvm2 start ; eend $? fi