1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
David Teigland 024ce50f06 vgchange -aay: improve unexpected command variations
For completeness and consistency, adjust the behavior
for some variations of:

  vgchange -aay --autoactivation event [vgname]

The current standard use is with a VG name arg, and the
command is only called when all pvs_online files exist.
This is the optimal case, in which only pvs_online devs
are read.  This remains the same.

Clean up behaviors for some other unexpected uses of the
command:

. With no VG name arg, the command activates any VGs
  that are complete according to pvs_online.  If no
  pvs_online files exist, it does nothing.

. If a VG name is used but no PVs online files exist for
  the VG, or the PVs online files are incomplete, then
  consider there could be a problem with the pvs_online
  files, and fall back to a full label scan prior to
  attempting the activation.
2021-11-08 15:19:25 -06:00
..
api shellcheck: updates 2021-04-23 23:00:55 +02:00
dbus tests: test_pv_symlinks works only with /dev dir 2021-03-28 00:21:38 +01:00
lib cov: ignoring 2021-09-27 18:56:14 +02:00
shell vgchange -aay: improve unexpected command variations 2021-11-08 15:19:25 -06:00
unit cov: ignore close result 2021-10-15 23:40:29 +02:00
.gitignore test: add results/ to .gitignore 2016-12-10 18:00:25 +00:00
Makefile.in vdo: Rename vdoimport to lvm_import_vdo. 2021-08-26 17:13:59 +02:00