Description of problem: This is the RHEL5 cmirror version of bug 192865. [root@taft-01 ~]# lvchange -an TAFT/cmirror [root@taft-01 ~]# lvconvert -m 1 --corelog TAFT/cmirror Unable to convert the log of inactive cluster mirror cmirror Version-Release number of selected component (if applicable): lvm2-2.02.40-6.el5 lvm2-cluster-2.02.40-7.el5
The reason for this is that any information on the sync state of the mirror will be lost... Seems like a pretty silly thing to do. I might be willing to do it if the user is also asked if they want to procede. Also, the given message seems fouled up and needs to be fixed.
I've changed the message in the upstream code to read: Unable to convert the log of an inactive cluster mirror, cmirror
Seems this works on single machine mirrors: [root@bp-01 ~]# lvconvert --corelog vg/lv Full resync required to convert inactive mirror vg-lv to core log. Proceed? [y/n]: y Logical volume lv converted. So, this additional check may be there for a good reason... Not high enough priority for me to guarantee 5.5.
This check may be in place to guard against converting while another machine has the mirror active. The solution may require acquiring the a lock on the mirror exclusively to perform the action. I'm not going to change/enable this in 5.5.