In the past, I've used LVM on MD RAID, and I'd like to try using LVM
RAID in order to also add dm-integrity data to some LVs. I've added new
PVs to my VG, and I've converted some of my LVs to raid1 types, but I
also have one thin pool that I use for VMs with multiple layers of
snapshots. That pool can't be converted, directly:
# lvconvert --type raid1 -m 1 VolGroup/vm_pool --yes
Operation not permitted on LV VolGroup/vm_pool type thinpool.
Is it sufficient to simply convert the tdata and tmeta LVs to raid1
type? Should I also convert lvol0_pmspare? Is there anything else I
should consider?
# lvs VolGroup/vm_pool VolGroup/vm_pool_tmeta VolGroup/vm_pool_tdata
VolGroup/lvol0_pmspare
LV VG Attr LSize Pool Origin Data% Meta%
Move Log Cpy%Sync Convert
[lvol0_pmspare] VolGroup ewi-a----- 128.00m
vm_pool VolGroup twi-aotz-- 200.00g 12.83 15.93
[vm_pool_tdata] VolGroup Twi-ao---- 200.00g
[vm_pool_tmeta] VolGroup ewi-ao---- 128.00m