summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-04-15 11:27:49 -0500
committerDavid Teigland <teigland@redhat.com>2019-04-15 11:27:49 -0500
commitaa75b31db54782fb24b6b7e3c681a61b3579117c (patch)
treeea69084a8803d00eee9ec614eff0af7e909a53c7 /configure
parent41ba2b568b3d3ad1d1ee2a26cf9f44a2b2e77e8f (diff)
downloadlvm2-aa75b31db54782fb24b6b7e3c681a61b3579117c.tar.gz
pvscan: handle case of scanning PV without metadata last
Handle the case where pvscan --cache -aay (with no dev args) gets to the final PV, completing the VG, but that final PV does not have VG metadata. In this case, we need to use VG metadata from a previously scanned PV in the same VG, which we saved for this possibility. Using this saved metadata, we can find which VG this PVID belongs to, and then check if that VG is now complete, and if so add the VG name to the list of complete VGs to be autoactivated.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions