1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00
David Teigland c1f246fedf toollib: handle duplicate pvs in process_in_pv
Processes a PV once for each time a device with its PV ID
exists on the command line.

This fixes a regression in the case where:

. devices /dev/sdA and /dev/sdB where clones (same PV ID)

. the cached VG references /dev/sdA

. before the regression, the command: pvs /dev/sdB
  would display the cached device clone /dev/sdA

. after the regression, pvs /dev/sdB would display nothing,
  causing vgimportclone /dev/sdB to fail.

. with this fix, pvs /dev/sdB displays /dev/sdA

Also, pvs /dev/sdA /dev/sdB will report two lines, one for each
device on the command line, but /dev/sdA is displayed for each.

This only works without lvmetad.
2015-01-14 11:57:29 -06:00
..
2014-10-30 23:58:49 +01:00
2015-01-14 14:52:05 +01:00
2014-10-24 16:39:30 +02:00
2014-10-30 23:58:49 +01:00
2014-11-13 17:49:42 +01:00
2015-01-14 14:52:05 +01:00
2014-10-30 23:58:49 +01:00
2014-11-18 16:50:49 +01:00
2015-01-14 14:52:05 +01:00
2014-10-30 23:58:49 +01:00
2014-11-10 22:05:49 +01:00
2014-11-18 16:50:49 +01:00
2014-11-10 22:05:48 +01:00
2015-01-14 14:52:05 +01:00
2014-10-30 23:58:49 +01:00
2015-01-14 14:52:05 +01:00
2014-10-30 23:58:49 +01:00
2014-03-12 19:12:34 +01:00
2014-11-13 17:49:42 +01:00