diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-07-26 11:30:27 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-07-26 11:30:27 +0200 |
commit | 9161308252336491a107983ed16481e446853e26 (patch) | |
tree | 7df6d8c7b472ccd5ff39cd8787b254da948c496b | |
parent | e0bc3cf1a0102aff6c047a3293ef45ca5f221c10 (diff) | |
download | lvm2-9161308252336491a107983ed16481e446853e26.tar.gz lvm2-9161308252336491a107983ed16481e446853e26.tar.xz lvm2-9161308252336491a107983ed16481e446853e26.zip |
systemd: ensure monitoring is handled after lvmetad
Monitoring is handled using "vgchange --monitor" call. Ensure that lvmetad is up
and running at the time of this call to prevent any fallback to direct scan
within the vgchange. The same applies for shutdown sequence but the other way
round - switch monitoring off and lvmetad afterwards.
-rw-r--r-- | scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in index a8d51838..425cb0d3 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) Requires=dm-event.socket -After=dm-event.socket fedora-storage-init.service fedora-storage-init-late.service +After=dm-event.socket fedora-storage-init.service fedora-storage-init-late.service lvm2-lvmetad.service Before=local-fs.target DefaultDependencies=no Conflicts=shutdown.target |