RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 527186 - [RFE] Add support for exclusively activating snapshots of clustered logical volumes
Summary: [RFE] Add support for exclusively activating snapshots of clustered logical v...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lvm2
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Jonathan Earl Brassow
QA Contact: Corey Marthaler
URL:
Whiteboard:
Depends On: 677739
Blocks: 501437
TreeView+ depends on / blocked
 
Reported: 2009-10-05 07:58 UTC by Subhendu Ghosh
Modified: 2018-07-10 14:51 UTC (History)
15 users (show)

Fixed In Version: lvm2-2.02.83-3.el6
Doc Type: Enhancement
Doc Text:
Clone Of: 501437
Environment:
Last Closed: 2011-05-19 14:25:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 19391 0 None None None 2018-07-10 14:51:15 UTC
Red Hat Product Errata RHBA-2011:0772 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2011-05-18 18:08:31 UTC

Comment 1 Corey Marthaler 2009-10-14 21:04:15 UTC
FYI - the current code does not forget to check when changing an existing LV from non-clustered to clustered regardless of whether or not it's currently active.

[root@taft-01 ~]# lvcreate -L 12M -s taft/clinear
  Logical volume "lvol0" created
[root@taft-01 ~]# lvs -a -o +devices
  LV       VG         Attr   LSize   Origin  Snap%  Move Log Copy%  Convert Devices        
  LogVol00 VolGroup00 -wi-ao  58.38G                                        /dev/sda2(0)   
  LogVol01 VolGroup00 -wi-ao   9.75G                                        /dev/sda2(1868)
  clinear  taft       owi-a- 100.00M                                        /dev/sdb1(0)   
  lvol0    taft       swi-a-  12.00M clinear   0.07                         /dev/sdc1(0)   
[root@taft-01 ~]# vgchange -c y taft
  Volume group taft contains snapshots that are not yet supported.
[root@taft-01 ~]# vgchange -an taft
  0 logical volume(s) in volume group "taft" now active
[root@taft-01 ~]# vgchange -c y taft
  Volume group taft contains snapshots that are not yet supported.

Comment 2 Corey Marthaler 2009-10-14 21:11:31 UTC
In fact there may even be a bug in here, though I think I've brought up the fact that lvm will activate in single machine mode the same volume on multiple nodes.

[root@taft-01 ~]# vgchange -aye taft
  2 logical volume(s) in volume group "taft" now active

[root@taft-01 ~]#  lvs
  LV       VG         Attr   LSize   Origin  Snap%  Move Log Copy%  Convert
  LogVol00 VolGroup00 -wi-ao  58.38G                                       
  LogVol01 VolGroup00 -wi-ao   9.75G                                       
  clinear  taft       owi-a- 100.00M                                       
  lvol0    taft       swi-a-  12.00M clinear   0.07                        

# here the snap doesn't get activated, but the origin does.
[root@taft-02 ~]# vgchange -aye taft
  _get_device_info: device not found
  1 logical volume(s) in volume group "taft" now active

[root@taft-02 ~]# lvs -a -o +devices
  LV       VG         Attr   LSize   Origin  Snap%  Move Log Copy%  Convert Devices        
  LogVol00 VolGroup00 -wi-ao  58.38G                                        /dev/sda2(0)   
  LogVol01 VolGroup00 -wi-ao   9.75G                                        /dev/sda2(1868)
  clinear  taft       owi-a- 100.00M                                        /dev/sdb1(0)   
  lvol0    taft       swi---  12.00M clinear                                /dev/sdc1(0)

Comment 6 Corey Marthaler 2011-02-15 18:09:50 UTC
bug 677739 should block this feature.

Comment 7 Corey Marthaler 2011-03-16 19:16:20 UTC
Marking this FailsQA until the fix for 677739 is included.

Comment 8 Peter Rajnoha 2011-03-18 09:46:53 UTC
6777739 now in POST (upstream in version 2.02.85), marking this one POST as well.

Comment 10 Corey Marthaler 2011-03-18 20:11:51 UTC
677739 has now been verified. Marking this feature verified as well with the latest rpms.

2.6.32-94.el6.x86_64

lvm2-2.02.83-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
lvm2-libs-2.02.83-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
lvm2-cluster-2.02.83-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
udev-147-2.31.el6    BUILT: Wed Jan 26 05:39:15 CST 2011
device-mapper-1.02.62-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
device-mapper-libs-1.02.62-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
device-mapper-event-1.02.62-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
device-mapper-event-libs-1.02.62-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011
cmirror-2.02.83-3.el6    BUILT: Fri Mar 18 09:31:10 CDT 2011

Comment 11 Corey Marthaler 2011-04-11 18:40:31 UTC
Just a note that bug 694164 (targets not resumed when creating multiple snapshots of mirrors) may be seen when attempting this feature. This may require a note in the docs.

Comment 12 errata-xmlrpc 2011-05-19 14:25:46 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-2011-0772.html


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