mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-21 22:04:19 +03:00
tests: pvscan-autoactivate check for machine-id
This commit is contained in:
parent
2b241eb1f6
commit
c315112a3b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user