master - tests: pvscan-autoactivate check for machine-id
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c315112a3b7d01e56cbd2ecb3d05f55d44a50e12 Commit: c315112a3b7d01e56cbd2ecb3d05f55d44a50e12 Parent: 2b241eb1f666e93f47917f2495e900bf80c9d5ff Author: David Teigland <[email protected]> AuthorDate: Thu Jun 6 15:32:42 2019 -0500 Committer: David Teigland <[email protected]> CommitterDate: Thu Jun 6 15:32:42 2019 -0500
tests: pvscan-autoactivate check for machine-id
--- test/shell/pvscan-autoactivate.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
test/shell/pvscan-autoactivate.sh +4 -0
@@ -134,6 +134,8 @@ not ls "$RUNDIR/lvm/pvs_online/$PVID3" # pvscan cache ignores pv in a foreign vg +if [ -e "/etc/machine-id" ]; then + aux lvmconf "global/system_id_source = machineid" _clear_online_files
@@ -168,6 +170,8 @@ cat tmp grep $lv2 tmp check lv_field $vg2/$lv2 lv_active "" --foreign +fi + # Test the case where pvscan --cache -aay (with no devs) # gets the final PV to complete the VG, where that final PV