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 728157

Summary: lvrename verb: failed to recognize --force option
Product: Red Hat Enterprise Linux 6 Reporter: Max Benenson <mbenenso>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: agk, dwysocha, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.86-1.el6 Doc Type: Bug Fix
Doc Text:
Unsupported option --force has been removed from lvrename manpage.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 16:59:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Max Benenson 2011-08-04 08:47:14 UTC
Steps to Reproduce:
1. lvrename --force lv_old_name lv_new_name
  
Actual results:
lvrename: unrecognized option '--force'
  Error during parsing of command line.

Expected results:
--force option should be recognized by lvrename command (or remove this option if not planning to support it)

Additional info:
Red Hat Enterprise Linux Server release 6.1 (Santiago)
lvm2-2.02.83-3.el6.x86_64
lvm2-libs-2.02.83-3.el6.x86_64
kernel-2.6.32-131.2.1.el6.x86_64

Comment 2 Zdenek Kabelac 2011-08-04 11:17:06 UTC
Option --force has been removed from lvrename man page:

https://www.redhat.com/archives/lvm-devel/2011-August/msg00011.html


Also missing new line in help text for lvrename has been fixed:

https://www.redhat.com/archives/lvm-devel/2011-August/msg00010.html

Comment 3 Zdenek Kabelac 2011-08-04 11:17:07 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Unsupported option --force has been removed from lvrename manpage.

Comment 4 Corey Marthaler 2011-08-04 15:32:20 UTC
Adding QA ack for 6.2.

Based on comment #0, a definitive reproducer for this defect exists.

Comment 6 Corey Marthaler 2011-09-08 18:40:24 UTC
Verified that the --force option is no longer in the lvrename man page.

2.6.32-193.el6.x86_64
lvm2-2.02.87-1.el6    BUILT: Fri Aug 12 06:11:57 CDT 2011
lvm2-libs-2.02.87-1.el6    BUILT: Fri Aug 12 06:11:57 CDT 2011
lvm2-cluster-2.02.87-1.el6    BUILT: Fri Aug 12 06:11:57 CDT 2011

Comment 7 errata-xmlrpc 2011-12-06 16:59:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1522.html