mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
428514a07f
It's no longer needed. Clustered VGs are now handled in the same way as foreign VGs, and as shared VGs that can't be accessed: - A command processing all VGs sees a clustered VG, prints a message ("Skipping clustered VG foo."), skips it, and does not fail. - A command where the clustered VG is explicitly named on the command line, prints a message and fails. "Cannot access clustered VG foo, see lvmlockd(8)." The option is listed in the set of ignored options for the commands that previously accepted it. (Removing it entirely would cause commands/scripts to fail if they set it.)
19 lines
620 B
SYSTEMD
19 lines
620 B
SYSTEMD
[Unit]
|
|
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 lvm2-lvmetad.socket
|
|
After=dm-event.socket dm-event.service lvm2-lvmetad.socket lvm2-activation.service lvm2-lvmetad.service
|
|
Before=local-fs-pre.target
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1
|
|
ExecStart=@SBINDIR@/lvm vgchange --monitor y
|
|
ExecStop=@SBINDIR@/lvm vgchange --monitor n
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|