Don't run pvscan; it hangs with thinLV on xenial.
There are a few reports about this on the Internets as well. Change-Id: I6aadbde6dc5743be7bed93359618155626d74c10
This commit is contained in:
@@ -187,6 +187,10 @@ function configure_drbd_devstack {
|
|||||||
'ENV{DM_NAME}=="'"${DRBD_DRBDCTRL_VG}"'-.drbdctrl' \
|
'ENV{DM_NAME}=="'"${DRBD_DRBDCTRL_VG}"'-.drbdctrl' \
|
||||||
's:SUBSYSTEM.="block",.*GOTO="\(.*\)":&\nENV{DM_NAME}=="'"${DRBD_DRBDCTRL_VG}"'-.drbdctrl", GOTO="\1"\n:'
|
's:SUBSYSTEM.="block",.*GOTO="\(.*\)":&\nENV{DM_NAME}=="'"${DRBD_DRBDCTRL_VG}"'-.drbdctrl", GOTO="\1"\n:'
|
||||||
|
|
||||||
|
_modify_udev_file 69-lvm-metad.rules \
|
||||||
|
'#dont run pvscan ## lvm pvscan --cache --activate' \
|
||||||
|
's:^RUN+="/sbin/lvm pvscan --cache:# Dont run pvscan:'
|
||||||
|
|
||||||
# drbdmanage modii: --no-control-volume --no-storage --no-autojoin
|
# drbdmanage modii: --no-control-volume --no-storage --no-autojoin
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user