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:
Philipp Marek 2017-01-20 11:54:41 +01:00
parent 9ec8735cc8
commit 01d07564e9
1 changed files with 4 additions and 0 deletions

View File

@ -187,6 +187,10 @@ function configure_drbd_devstack {
'ENV{DM_NAME}=="'"${DRBD_DRBDCTRL_VG}"'-.drbdctrl' \
'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