diff options
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -236,6 +236,16 @@ run_hook sysinit_premount /bin/mount -a -t $NETFS -O no_netdev stat_done +# enable monitoring of lvm2 groups, now that the filesystems are mounted rw +if [[ $USELVM =~ yes|YES && -x /sbin/lvm && -d /sys/block ]]; then + stat_busy "Activating monitoring of LVM2 groups" + if /sbin/vgchange --monitor y >/dev/null; then + stat_done + else + stat_fail + fi +fi + status "Retrying failed UDEV events" /sbin/udevadm trigger --action=add --type=failed status "Activating Swap" /sbin/swapon -a |