]> sourceware.org Git - lvm2.git/commit
lvconvert: fix --repair after vgreduce
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Mar 2017 01:11:52 +0000 (02:11 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Mar 2017 01:11:52 +0000 (02:11 +0100)
commit921b496fff51822a851447d3e8f3b93a192b4aea
tree58005e804dbf40e10c45e46606750bb31971fa42
parent00b8c2bebc274ba783f6b0f0b27f07ec858c7310
lvconvert: fix --repair after vgreduce

In case N images fail (N <= parity chunks) _and_
a "vgreduce --removemissing --force VG" was applied
a following repair of the RaidLV fails:

  Unable to remove N images:  Only 0 devices given.
  Failed to remove the specified images from tb/r.
  Failed to replace faulty devices in tb/r.

Fix as of this commit results in correct repair:

  Faulty devices in tb/r successfully replaced.
lib/metadata/raid_manip.c
This page took 0.035053 seconds and 5 git commands to generate.