Hello List,

As you know, in the past versions(e.g. v2.02.120), lvcreate supports creating a 
mirror type LV with "--mirrorlog mirrored" option, 
But in the latest versions(e.g. v2.02.180), lvm2 says "mirrored is a persistent 
log that is itself mirrored, but should be avoided. Instead, use the raid1 type 
for log redundancy."
Then,  my questions are as below,
1)The latest lvm2 does not allow creating this kind of LV, or just not 
recommended?
In my test environment, it looks that LVM2 can not create this kind of LV.
tb0307-nd1:/ # lvcreate --type mirror -m1 --mirrorlog mirrored -L 2G -n mirr-lv 
cluster-vg2
  Log type, "mirrored", is unavailable to cluster mirrors.

2)If we can not create this kind of LV, how can we migrate these existing LVs 
after we upgrade LVM2 to the latest version (e.g. v2.02.180)?
e.g. we need to convert this kind of LV to "RAID1 type LV, I want to know if 
there is a suggested guide for this scenario.

Thanks
Gang

 




_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to