5.4.16.4. Converting a Mirrored LVM Device to a RAID1 Device
You can convert an existing mirrored LVM device to a RAID1 LVM device with the
lvconvert
command by specifying the --type raid1
argument. This renames the mirror subvolumes (*_mimage_*
) to RAID subvolumes (*_rimage_*
). In addition, the mirror log is removed and metadata subvolumes (*_rmeta_*
) are created for the data subvolumes on the same physical volumes as the corresponding data subvolumes.
The following example shows the layout of a mirrored logical volume
my_vg/my_lv
.
The following command converts the mirrored logical volume
my_vg/my_lv
to a RAID1 logical volume.