# cd /etc/udev/rules.d/
root@cyane:/etc/udev/rules.d# more 85-lvm2.rules
# This file causes block devices with LVM signatures to be automatically
# added to their volume group.
# See udev(8) for syntax
# MODIFIED per https://bugs.launchpad.net/ubuntu/+source/udev/+bug/789930
SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_TYPE}=="lvm*|LVM*", \
RUN+="watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange --noudevsync
-a y'"
root@cyane:/etc/udev/rules.d# vgscan
Reading all physical volumes. This may take a while...
This is a result of running:
# cd /etc/udev/rules.d/ /etc/udev/ rules.d# more 85-lvm2.rules /bugs.launchpad .net/ubuntu/ +source/ udev/+bug/ 789930
root@cyane:
# This file causes block devices with LVM signatures to be automatically
# added to their volume group.
# See udev(8) for syntax
# MODIFIED per https:/
SUBSYSTEM=="block", ACTION= ="add|change" , ENV{ID_ FS_TYPE} =="lvm* |LVM*", \ /etc/udev/ rules.d# vgscan
RUN+="watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange --noudevsync
-a y'"
root@cyane:
Reading all physical volumes. This may take a while...