Red Hat Bugzilla – Bug 463306
RFE: need better worded message for upconverting --nosync mirrors
Last modified: 2010-01-11 22:54:46 EST
Description of problem:
It took me awhile to figure out that the reason I was seeing the following message when up converting was because I created the mirror with the --nosync option.
[root@taft-03 ~]# lvconvert -m 2 taft/mirror
Not adding mirror to mirrored LV without initial resync
The above sounds a bit confusing.
Something more like:
"Mirrors created without initial sync require resync before up converting"
If I resync it, then it'll work.
[root@grant-01 ~]# lvchange --resync grant/mirror
Do you really want to deactivate logical volume mirror to resync it? [y/n]: y
[root@grant-01 ~]# lvconvert -m 2 grant/mirror
grant/mirror: Converted: 100.0%
Logical volume mirror converted.
Version-Release number of selected component (if applicable):
Fix verified in lvm2-2.02.46-8.el5.
[root@grant-02 ~]# lvconvert -m 2 grant/mirror
Can't add mirror to out-of-sync mirrored LV: use lvchange --resync first.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.