Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 652662

Summary: [RFE] Support multiple --addtag and --deltag arguments within a single command
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: lvm2Assignee: Alasdair Kergon <agk>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0CC: abaron, agk, bmarzins, coughlan, cpelland, dwysocha, heinzm, iheim, jbrassow, joe.thornber, mbroz, plyons, pm-eus, prajnoha, prockai, smizrahi
Target Milestone: rcKeywords: FutureFeature, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.72-8.el6_0.3 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 07:11:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 633018    
Bug Blocks:    

Description RHEL Program Management 2010-11-12 13:38:53 UTC
This bug has been copied from bug #633018 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 4 Corey Marthaler 2010-12-02 22:01:55 UTC
Fix verified with the latest rpms.

2.6.32-71.el6.x86_64

lvm2-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
lvm2-libs-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
lvm2-cluster-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
udev-147-2.29.el6    BUILT: Tue Aug 31 16:44:10 CDT 2010
device-mapper-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
device-mapper-libs-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
device-mapper-event-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
device-mapper-event-libs-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
cmirror-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010


[root@grant-01 ~]# vgs -a -o +vg_tags
  VG         #PV #LV #SN Attr   VSize   VFree   VG Tags
  VG           2   1   0 wz--n- 158.93g 148.84g T8

[root@grant-01 ~]# vgchange --addtag T9 --addtag T10 --addtag T11 --addtag T12  VG
  Volume group "VG" successfully changed

[root@grant-01 ~]# vgs -a -o +vg_tags
  VG         #PV #LV #SN Attr   VSize   VFree   VG Tags
  VG           2   1   0 wz--n- 158.93g 148.84g T8,T9,T10,T11,T12

[root@grant-01 ~]# vgchange --deltag T9 --deltag T10 --addtag T13 --addtag T14  VG
  Volume group "VG" successfully changed

[root@grant-01 ~]# vgs -a -o +vg_tags
  VG         #PV #LV #SN Attr   VSize   VFree   VG Tags
  VG           2   1   0 wz--n- 158.93g 148.84g T8,T11,T12,T13,T14

Comment 6 errata-xmlrpc 2010-12-08 07:11:21 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-2010-0951.html