1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00
lvm2/tools
David Teigland 0c23d3fc84 pvscan: use quick activation only with matching PV device names
When the PV device names in the VG metadata do not match the
current PV device names seen on the system, do not use the
optimized activation function (that avoids extra device scanning.)

When the device names do not match, it's a clue that there could
be duplicate PVs, in which case we want to scan all devicess to
find any duplicates and stop the activation if found.

This does not prevent autoactivating a VG from the incorrect
duplicate PV, because the incorrect duplicate may appear by itself
first.  At that point its duplicate PV does not exist to be seen.
(A future enhancement could use the WWID to strengthen this
detection.)
2019-09-30 11:38:10 -05:00
..
.exported_symbols
.gitignore
args.h remove unused trustcache option 2019-06-11 11:42:49 -05:00
cmdnames.h
command-lines.in lvconvert: allow --cache shortcut for --type cache with cachevol 2019-09-23 14:21:09 -05:00
command.c cov: ensure cname exists before derefering it 2019-08-09 12:57:07 +02:00
command.h fix command definition for pvchange -a 2019-06-10 13:43:20 -05:00
commands.h exported vg handling 2019-06-25 15:39:08 -05:00
dumpconfig.c
errors.h
formats.c
license.inc
lv_props.h
lv_types.h Add dm-writecache support 2018-11-06 14:18:41 -06:00
lvchange.c vdo: restore monitoring of vdo pool 2019-09-30 13:34:34 +02:00
lvconvert_poll.c
lvconvert_poll.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvconvert.c lvconvert: enable --uncache with dm-writecache cachevol 2019-09-24 15:51:05 -05:00
lvcreate.c vdo: complete matching with thin syntax 2019-01-28 22:18:17 +01:00
lvdisplay.c
lvextend.c
lvm2cmd-static.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm2cmd.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm2cmd.h
lvm2cmdline.h
lvm-static.c
lvm.c
lvmcmdlib.c dmeventd: lvm vdo support 2018-07-09 15:29:16 +02:00
lvmcmdline.c vgcreate/vgextend: restrict PVs with mixed block sizes 2019-08-01 10:06:47 -05:00
lvmdiskscan.c remove unused full filter 2018-12-04 14:06:46 -06:00
lvpoll.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvreduce.c
lvremove.c
lvrename.c
lvresize.c lvextend: refresh shared LV remotely using dlm/corosync 2019-03-21 12:38:20 -05:00
lvscan.c Remove lvmetad 2018-07-11 11:26:42 -05:00
Makefile.in makefile: fixes build for older system 2018-12-17 11:41:38 +01:00
polldaemon.c improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
pvchange.c lvmcache: renaming functions and variables 2019-08-16 13:26:11 -05:00
pvck.c pvck: fix looping dump metadata_all 2019-07-12 14:09:06 -05:00
pvcreate.c move the setting of use_full_md_check flag 2019-05-21 11:51:58 -05:00
pvdisplay.c add device hints to reduce scanning 2019-01-15 10:23:47 -06:00
pvmove_poll.c pvmove: add missing synchronization 2019-08-20 12:44:39 +02:00
pvmove_poll.h
pvmove.c locking: unify global lock for flock and lockd 2019-04-29 13:01:05 -05:00
pvremove.c pvcreate: call label scan prior to pvcreate_each_device 2019-04-30 14:10:27 -05:00
pvresize.c exported vg handling 2019-06-25 15:39:08 -05:00
pvscan.c pvscan: use quick activation only with matching PV device names 2019-09-30 11:38:10 -05:00
reporter.c pvs: remove unnecessary label scan 2019-05-03 16:16:29 -05:00
segtypes.c
stub.h Remove vgconvert 2018-06-13 14:14:03 -05:00
tags.c
tool.h configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
toollib.c pvscan: avoid full scan for activation 2019-09-03 10:11:16 -05:00
toollib.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
tools.h exported vg handling 2019-06-25 15:39:08 -05:00
vals.h vdo: document types vdo and vdo-pool 2019-01-28 22:39:10 +01:00
vgcfgbackup.c improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
vgcfgrestore.c locking: unify global lock for flock and lockd 2019-04-29 13:01:05 -05:00
vgchange.c exported vg handling 2019-06-25 15:39:08 -05:00
vgck.c exported vg handling 2019-06-25 15:39:08 -05:00
vgcreate.c vgcreate/vgextend: restrict PVs with mixed block sizes 2019-08-01 10:06:47 -05:00
vgdisplay.c
vgexport.c lvmlockd: primarily use vg_is_shared 2018-06-01 13:15:22 -05:00
vgextend.c improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
vgimport.c exported vg handling 2019-06-25 15:39:08 -05:00
vgimportclone.c exported vg handling 2019-06-25 15:39:08 -05:00
vgmerge.c locking: unify global lock for flock and lockd 2019-04-29 13:01:05 -05:00
vgmknodes.c
vgreduce.c exported vg handling 2019-06-25 15:39:08 -05:00
vgremove.c exported vg handling 2019-06-25 15:39:08 -05:00
vgrename.c exported vg handling 2019-06-25 15:39:08 -05:00
vgscan.c locking: unify global lock for flock and lockd 2019-04-29 13:01:05 -05:00
vgsplit.c exported vg handling 2019-06-25 15:39:08 -05:00