1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +03:00
David Teigland 05bb44d821 handle duplicate vgids
The approach to duplicate VGIDs has been that it is not possible
or not allowed, so the behavior has been undefined.  The actual
result was unpredictable and/or broken, and generally unhelpful.

Improve this by recognizing the problem, displaying the VGs,
and printing a warning to fix the problem.  Beyond this,
using VGs with duplicate VGIDs remains undefined, but should
work well enough to correct the problem with vgchange -u.

It's possible to create this condition without too much difficulty
by cloning PVs, followed by an incomplete attempt at making the two
VGs unique (vgrename and pvchange -u, but missing vgchange -u.)

(cherry picked from commit 18f451e09e943eb3d51f8394f6fe8967e1e9f565)
2024-01-31 20:40:04 +01:00
..
2024-01-31 20:40:04 +01:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2022-06-09 14:33:28 -05:00
2021-09-27 18:56:14 +02:00
2021-09-15 15:24:56 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-02-08 23:43:38 +01:00
2018-06-08 13:40:53 +01:00
2023-07-13 15:02:29 +02:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00