1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-06 17:18:29 +03:00
lvm2/scripts
Zhang Huan 37796aa7bf blkdeactive: Introduce option "forcevg" to forcibly deactivate VG
This patch introduces new option "forcevg" for LVM, the main purpose is
to flush in-flight I/O operations and replace the LV's device mapper
table with 'error' target, this is accomplished by using command
"dmsetup wipe_table".

To handle the failure as soon as possible, it will not deactivate
holders and not try to use command "lvchange", thus can speed up
wiping table.

This option is supposed to be used by "lvmlockctl" command to forcibly
deactivate volume group, this can avoid watchdog reset when detect
drive failures.

Signed-off-by: Zhang Huan <zhanghuan@huayun.com>
[Refactored changes and commit log]
Signed-off-by: Leo Yan <leo.yan@linaro.org>
2021-03-02 11:32:54 -06:00
..
lvm2create_initrd doc: change fsf address 2016-01-21 12:11:37 +01:00
.gitignore gitignore: update 2019-03-20 14:35:09 +01:00
blk_availability_init_red_hat.in shellcheck: some apostrophe changes and cleanups 2017-10-25 22:02:54 +02:00
blk_availability_systemd_red_hat.service.in systemd: add missing Before=shutdown.target to LVM2 services to fix shutdown ordering 2019-04-09 12:24:37 +02:00
blkdeactivate.sh.in blkdeactive: Introduce option "forcevg" to forcibly deactivate VG 2021-03-02 11:32:54 -06:00
cmirrord_init_red_hat.in shellcheck: some apostrophe changes and cleanups 2017-10-25 22:02:54 +02:00
code-stats.rb scripts/code-stats.rb: count files better, handle bad utf8 2018-05-17 09:52:13 +01:00
com.redhat.lvmdbus1.conf lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
com.redhat.lvmdbus1.service.in systemd: use proper sbindir path 2017-10-25 22:02:54 +02:00
dm_event_systemd_red_hat.service.in systemd: remove Install sections from socket-activated services 2017-11-01 15:37:19 +01:00
dm_event_systemd_red_hat.socket.in systemd: use RemoveOnStop for dm-event.socket and lvm2-lvmetad.socket 2014-06-13 15:45:25 +02:00
fsadm.sh fsadm: fix unbound variable usage 2020-12-08 20:32:34 +01:00
gdbinit doc: change fsf address 2016-01-21 12:11:37 +01:00
generator-internals.c generators: avoid contacting syslog with generators 2019-01-08 13:13:54 +01:00
lvm2_activation_generator_systemd_red_hat.c systemd: add missing Before=shutdown.target to LVM2 services to fix shutdown ordering 2019-04-09 12:24:37 +02:00
lvm2_cmirrord_systemd_red_hat.service.in systemd: add missing Before=shutdown.target to LVM2 services to fix shutdown ordering 2019-04-09 12:24:37 +02:00
lvm2_lvmdbusd_systemd_red_hat.service.in systemd: use proper sbindir path 2017-10-25 22:02:54 +02:00
lvm2_lvmpolld_init_red_hat.in shellcheck: some apostrophe changes and cleanups 2017-10-25 22:02:54 +02:00
lvm2_lvmpolld_systemd_red_hat.service.in systemd: add missing Before=shutdown.target to LVM2 services to fix shutdown ordering 2019-04-09 12:24:37 +02:00
lvm2_lvmpolld_systemd_red_hat.socket.in systemd: put back DefaultDependencies=no for lvmpolld socket unit 2019-04-11 12:18:02 +02:00
lvm2_monitoring_init_red_hat.in shellcheck: some apostrophe changes and cleanups 2017-10-25 22:02:54 +02:00
lvm2_monitoring_init_rhel4 doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2_monitoring_systemd_red_hat.service.in systemd: add missing Before=shutdown.target to LVM2 services to fix shutdown ordering 2019-04-09 12:24:37 +02:00
lvm2_tmpfiles_red_hat.conf.in Use 'd' instead of 'D' in tmpfiles configuration to not overwrite any existing directory. 2012-02-23 14:24:30 +00:00
lvm2-pvscan.service.in pvscan service: use StartLimitIntervalSec 2019-02-28 08:50:37 -06:00
lvmdump.sh.in tests: scripts double quote 2017-07-10 14:23:53 +02:00
lvmlockd.service.in More cleanup needed for dropped scripts 2018-09-13 11:09:25 -05:00
lvmlocks.service.in Fix scripts/lvmlocks.service.in using nonexistent --lock-opt autowait 2020-04-21 16:52:45 -05:00
Makefile.in makefiles: correcting login of makefile 2018-12-17 10:55:20 +01:00
relpath.awk doc: change fsf address 2016-01-21 12:11:37 +01:00
vgimportclone.sh shellcheck: some apostrophe changes and cleanups 2017-10-25 22:02:54 +02:00
VolumeGroup.ocf Add OCF support 2010-11-05 16:18:38 +00:00