mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
More cleanup needed for dropped scripts
and drop the lvm2 prefix from lvmlockd service
This commit is contained in:
parent
e9b6cdd6e6
commit
19a59cc53c
@ -1819,10 +1819,10 @@ scripts/lvm2_lvmdbusd_systemd_red_hat.service
|
|||||||
scripts/lvm2_lvmpolld_init_red_hat
|
scripts/lvm2_lvmpolld_init_red_hat
|
||||||
scripts/lvm2_lvmpolld_systemd_red_hat.service
|
scripts/lvm2_lvmpolld_systemd_red_hat.service
|
||||||
scripts/lvm2_lvmpolld_systemd_red_hat.socket
|
scripts/lvm2_lvmpolld_systemd_red_hat.socket
|
||||||
scripts/lvm2_lvmlockd_systemd_red_hat.service
|
scripts/lvmlockd.service
|
||||||
|
scripts/lvmlocks.service
|
||||||
scripts/lvm2_monitoring_init_red_hat
|
scripts/lvm2_monitoring_init_red_hat
|
||||||
scripts/lvm2_monitoring_systemd_red_hat.service
|
scripts/lvm2_monitoring_systemd_red_hat.service
|
||||||
scripts/lvm2_pvscan_systemd_red_hat@.service
|
|
||||||
scripts/lvm2_tmpfiles_red_hat.conf
|
scripts/lvm2_tmpfiles_red_hat.conf
|
||||||
scripts/lvmdump.sh
|
scripts/lvmdump.sh
|
||||||
scripts/Makefile
|
scripts/Makefile
|
||||||
|
@ -37,7 +37,7 @@ LVMRAIDMAN = lvmraid.7
|
|||||||
|
|
||||||
MAN5=lvm.conf.5
|
MAN5=lvm.conf.5
|
||||||
MAN7=lvmsystemid.7 lvmreport.7
|
MAN7=lvmsystemid.7 lvmreport.7
|
||||||
MAN8=lvm.8 lvmconf.8 lvmdump.8 lvm-fullreport.8 lvm-lvpoll.8 \
|
MAN8=lvm.8 lvmdump.8 lvm-fullreport.8 lvm-lvpoll.8 \
|
||||||
lvcreate.8 lvchange.8 lvmconfig.8 lvconvert.8 lvdisplay.8 \
|
lvcreate.8 lvchange.8 lvmconfig.8 lvconvert.8 lvdisplay.8 \
|
||||||
lvextend.8 lvreduce.8 lvremove.8 lvrename.8 lvresize.8 lvs.8 \
|
lvextend.8 lvreduce.8 lvremove.8 lvrename.8 lvresize.8 lvs.8 \
|
||||||
lvscan.8 pvchange.8 pvck.8 pvcreate.8 pvdisplay.8 pvmove.8 pvremove.8 \
|
lvscan.8 pvchange.8 pvck.8 pvcreate.8 pvdisplay.8 pvmove.8 pvremove.8 \
|
||||||
|
@ -1,70 +0,0 @@
|
|||||||
.TH "LVMCONF" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
|
|
||||||
|
|
||||||
.SH "NAME"
|
|
||||||
lvmconf \(em LVM configuration modifier
|
|
||||||
.SH "SYNOPSIS"
|
|
||||||
.B lvmconf
|
|
||||||
.RB [ --disable-cluster ]
|
|
||||||
.RB [ --enable-cluster ]
|
|
||||||
.RB [ --enable-halvm ]
|
|
||||||
.RB [ --disable-halvm ]
|
|
||||||
.RB [ --file
|
|
||||||
.RI < configfile >]
|
|
||||||
.RB [ --lockinglib
|
|
||||||
.RI < lib >]
|
|
||||||
.RB [ --lockinglibdir
|
|
||||||
.RI < dir >]
|
|
||||||
.RB [ --services ]
|
|
||||||
.RB [ --mirrorservice ]
|
|
||||||
.RB [ --startstopservices ]
|
|
||||||
|
|
||||||
.SH "DESCRIPTION"
|
|
||||||
lvmconf is a script that modifies the locking configuration in
|
|
||||||
an lvm configuration file. See \fBlvm.conf\fP(5). In addition
|
|
||||||
to that, it can also set Systemd or SysV services according to
|
|
||||||
changes in the lvm configuration if needed.
|
|
||||||
|
|
||||||
.SH "OPTIONS"
|
|
||||||
.TP
|
|
||||||
.BR --disable-cluster
|
|
||||||
Set \fBlocking_type\fR to the default non-clustered type. Also reset
|
|
||||||
lvmetad use to its default.
|
|
||||||
.TP
|
|
||||||
.BR --enable-cluster
|
|
||||||
Set \fBlocking_type\fR to the default clustered type on this system.
|
|
||||||
Also disable lvmetad use as it is not yet supported in clustered environment.
|
|
||||||
.TP
|
|
||||||
.BR --disable-halvm
|
|
||||||
Set \fBlocking_type\fR to the default non-clustered type. Also reset
|
|
||||||
lvmetad use to its default.
|
|
||||||
.TP
|
|
||||||
.BR --enable-halvm
|
|
||||||
Set \fBlocking_type\fR suitable for HA LVM use.
|
|
||||||
Also disable lvmetad use as it is not yet supported in HA LVM environment.
|
|
||||||
.TP
|
|
||||||
.BR --file " <" \fIconfigfile >
|
|
||||||
Apply the changes to \fIconfigfile\fP instead of the default
|
|
||||||
\fI#DEFAULT_SYS_DIR#/lvm.conf\fP.
|
|
||||||
.TP
|
|
||||||
.BR --lockinglib " <" \fIlib >
|
|
||||||
Set external \fBlocking_library\fR locking library to load if an external locking type is used.
|
|
||||||
.TP
|
|
||||||
.BR --lockinglibdir " <" \fIdir >
|
|
||||||
.TP
|
|
||||||
.BR --services
|
|
||||||
In addition to setting the lvm configuration, also enable or disable related Systemd or SysV
|
|
||||||
clvmd and lvmetad services. This script does not configure services provided by cluster resource
|
|
||||||
agents.
|
|
||||||
.TP
|
|
||||||
.BR --mirrorservice
|
|
||||||
Also enable or disable optional cmirrord service when handling services (applicable only with --services).
|
|
||||||
.TP
|
|
||||||
.BR --startstopservices
|
|
||||||
In addition to enabling or disabling related services, start or stop them immediately
|
|
||||||
(applicable only with --services).
|
|
||||||
.SH FILES
|
|
||||||
.I #DEFAULT_SYS_DIR#/lvm.conf
|
|
||||||
|
|
||||||
.SH "SEE ALSO"
|
|
||||||
.BR lvm (8),
|
|
||||||
.BR lvm.conf (5)
|
|
@ -121,7 +121,7 @@ Start the lvmlockd daemon.
|
|||||||
.br
|
.br
|
||||||
Use systemctl, a cluster resource agent, or run directly, e.g.
|
Use systemctl, a cluster resource agent, or run directly, e.g.
|
||||||
.br
|
.br
|
||||||
systemctl start lvm2-lvmlockd
|
systemctl start lvmlockd
|
||||||
|
|
||||||
.SS 4. start lock manager
|
.SS 4. start lock manager
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ ifeq ("@BUILD_DMEVENTD@", "yes")
|
|||||||
LDFLAGS += -Wl,-rpath-link,$(top_builddir)/daemons/dmeventd
|
LDFLAGS += -Wl,-rpath-link,$(top_builddir)/daemons/dmeventd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LVM_SCRIPTS = lvmdump.sh lvmconf.sh
|
LVM_SCRIPTS = lvmdump.sh
|
||||||
DM_SCRIPTS =
|
DM_SCRIPTS =
|
||||||
|
|
||||||
ifeq ("@FSADM@", "yes")
|
ifeq ("@FSADM@", "yes")
|
||||||
@ -105,7 +105,8 @@ ifeq ("@BUILD_LVMPOLLD@", "yes")
|
|||||||
$(INSTALL_DATA) lvm2_lvmpolld_systemd_red_hat.service $(systemd_unit_dir)/lvm2-lvmpolld.service
|
$(INSTALL_DATA) lvm2_lvmpolld_systemd_red_hat.service $(systemd_unit_dir)/lvm2-lvmpolld.service
|
||||||
endif
|
endif
|
||||||
ifeq ("@BUILD_LVMLOCKD@", "yes")
|
ifeq ("@BUILD_LVMLOCKD@", "yes")
|
||||||
$(INSTALL_DATA) lvm2_lvmlockd_systemd_red_hat.service $(systemd_unit_dir)/lvm2-lvmlockd.service
|
$(INSTALL_DATA) lvmlockd.service $(systemd_unit_dir)/lvmlockd.service
|
||||||
|
$(INSTALL_DATA) lvmlocks.service $(systemd_unit_dir)/lvmlocks.service
|
||||||
endif
|
endif
|
||||||
ifeq ("@BUILD_CMIRRORD@", "yes")
|
ifeq ("@BUILD_CMIRRORD@", "yes")
|
||||||
$(INSTALL_DATA) lvm2_cmirrord_systemd_red_hat.service $(systemd_unit_dir)/lvm2-cmirrord.service
|
$(INSTALL_DATA) lvm2_cmirrord_systemd_red_hat.service $(systemd_unit_dir)/lvm2-cmirrord.service
|
||||||
@ -149,7 +150,8 @@ DISTCLEAN_TARGETS += \
|
|||||||
lvm2_lvmetad_systemd_red_hat.socket \
|
lvm2_lvmetad_systemd_red_hat.socket \
|
||||||
lvm2_lvmpolld_systemd_red_hat.service \
|
lvm2_lvmpolld_systemd_red_hat.service \
|
||||||
lvm2_lvmpolld_systemd_red_hat.socket \
|
lvm2_lvmpolld_systemd_red_hat.socket \
|
||||||
lvm2_lvmlockd_systemd_red_hat.service \
|
lvmlockd.service \
|
||||||
|
lvmlocks.service \
|
||||||
lvm2_monitoring_init_red_hat \
|
lvm2_monitoring_init_red_hat \
|
||||||
lvm2_monitoring_systemd_red_hat.service \
|
lvm2_monitoring_systemd_red_hat.service \
|
||||||
lvm2_pvscan_systemd_red_hat@.service \
|
lvm2_pvscan_systemd_red_hat@.service \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=LVM locking start and stop
|
Description=LVM locking start and stop
|
||||||
Documentation=man:lvmlockd(8)
|
Documentation=man:lvmlockd(8)
|
||||||
After=lvm2-lvmlockd.service sanlock.service dlm.service
|
After=lvmlockd.service sanlock.service dlm.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -285,7 +285,8 @@ fi
|
|||||||
%{_mandir}/man8/lvmlockd.8.gz
|
%{_mandir}/man8/lvmlockd.8.gz
|
||||||
%{_mandir}/man8/lvmlockctl.8.gz
|
%{_mandir}/man8/lvmlockctl.8.gz
|
||||||
%dir %{_default_locking_dir}
|
%dir %{_default_locking_dir}
|
||||||
%{_unitdir}/lvm2-lvmlockd.service
|
%{_unitdir}/lvmlockd.service
|
||||||
|
%{_unitdir}/lvmlocks.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user