Bug 463306 - RFE: need better worded message for upconverting --nosync mirrors
Summary: RFE: need better worded message for upconverting --nosync mirrors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2
Version: 5.3
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Jonathan Earl Brassow
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-22 21:00 UTC by Corey Marthaler
Modified: 2010-01-12 03:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 11:57:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1393 0 normal SHIPPED_LIVE lvm2 bug-fix and enhancement update 2009-09-01 12:00:22 UTC

Description Corey Marthaler 2008-09-22 21:00:40 UTC
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):
lvm2-2.02.40-2.el5

Comment 2 Corey Marthaler 2009-07-01 16:40:04 UTC
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.

Comment 4 errata-xmlrpc 2009-09-02 11:57:00 UTC
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.

http://rhn.redhat.com/errata/RHBA-2009-1393.html


Note You need to log in before you can comment on or make changes to this bug.