1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
Jonathan Earl Brassow f60175c308 Add the ability to convert LVs of "mirror" segtype to "raid1" segtype.
Example:
~> lvconvert --type raid1 vg/mirror_lv

Steps to convert "mirror" to "raid1"
1) Allocate a RAID metadata LV for each mirror image from the same PVs
   on which they are located.
2) Clear the metadata LVs.  This involves writing LVM metadata, so we don't
   change any aspects of the mirror LV before this so that the user can easily
   remove LVs from the failed convert attempt while retaining the original
   mirror.
3) Remove the mirror log, if it exists.
4) Add metadata LVs to mirror LV
5) Rename mirror sub-lvs (s/mimage/rimage/)
6) Change flags and segtype from mirror to raid1
2011-10-07 14:56:01 +00:00
..
2011-09-19 18:40:51 +00:00
2011-09-24 21:15:13 +00:00
2011-09-24 21:10:19 +00:00
2011-09-24 20:54:35 +00:00
2011-09-19 12:49:14 +00:00
2011-09-16 12:23:59 +00:00
2011-06-28 09:43:28 +00:00
2011-03-30 13:39:24 +00:00
2011-06-09 14:26:47 +00:00