lvconvert --type raid1 -m 1 vgdata/lvdata

Category: Administration

lvconvert --type raid1 -m 1 vgdata/lvdata

Convert a logical volume to RAID 1 mirroring

Converts lvdata into a RAID 1 mirrored volume with one mirror copy, given enough free extents in the group. LVM RAID uses the kernel md driver, so the mirror survives individual disk failures. The -m 1 flag requests one additional copy of the data.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.