Skip to contentSkip to conversation

(3/5) vgreduce --consolidate

PATCH New Petr Rockai 1 participant 1 message Jul 8, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (3/5) vgreduce --consolidate

Hi,

this patch adds a new (sub-)command, vgreduce --consolidate, that is a safer (and now preferred) variant of vgreduce --removemissing, that will only bring volume group back from partial mode if that does not compromise any logical volumes residing there (ie. those having extents on missing PVs).

Users should probably use lvremove and lvconvert --repair to get rid of logical volumes residing on missing PVs (or let dmeventd sort out the latter). The possibility to use --removemissing is of course still there as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vgreduce-consolidate.diff
Type: text/x-diff
Size: 6205 bytes
Desc: vgreduce-consolidate.diff
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080708/d5650de4/attachment.bin>
-------------- next part --------------

Signature · 6 lines
Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation