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 880331

Summary: lvrename fails on thin snapshot with "name format not recognized for internal LV <poolname>"
Product: Red Hat Enterprise Linux 6 Reporter: Charles Butterfield <cb20777>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: agk, dwysocha, heinzm, jbrassow, msnitzer, prajnoha, prockai, thornber, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-26 18:13:21 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 Charles Butterfield 2012-11-26 18:05:27 UTC
Description of problem: Cannot use lvrename on thin snapshot.


Version-Release number of selected component (if applicable):

lvm2-2.02.95

How reproducible:


Steps to Reproduce:
1. Create thin snapshot, perhaps with an unusual name
2. try to rename with "lvrename" - fails (see below)
3.
  
Actual results:
$ lvrename -v g2/vimages-snap-2012-11-26.1201-15670 g2/foo
    Checking for existing volume group "g2"
    Archiving volume group "g2" metadata (seqno 274).
  Cannot rename "vimages-snap-2012-11-26.1201-15670": name format not recognized for internal LV "vpool"


Additional info:

Output of lvs:
  home                               g1   -wi-ao--  15.62g
  root                               g1   -wi-ao--  15.62g
  spare                              g1   -wi-ao--  36.00g
  spare                              g2   -wi-ao-- 500.00g
  swap                               g2   -wi-a--- 100.50g
  vhome                              g2   -wi-ao-- 100.00g
  vimages                            g2   Vwi-aotz 399.00g vpool          18.07
  vimages-snap-2012-11-21.2001-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.0001-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.0801-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.1001-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.1201-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.1401-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.1601-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.1801-15666 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-22.2001-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.0001-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.0801-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.1001-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.1201-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.1401-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.1601-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.1801-15667 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-23.2001-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.0001-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.0801-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.1001-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.1201-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.1401-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.1601-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.1801-15668 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-24.2001-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.0001-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.0801-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.1001-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.1201-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.1401-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.1601-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.1801-15669 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-25.2001-15670 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-26.0001-15670 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-26.0801-15670 g2   Vwi-a-tz 399.00g vpool vimages  15.48
  vimages-snap-2012-11-26.1001-15670 g2   Vwi-a-tz 399.00g vpool vimages  15.74
  vimages-snap-2012-11-26.1201-15670 g2   Vwi-a-tz 399.00g vpool vimages  15.89
  vpool                              g2   twi-a-tz 399.00g                21.30

Comment 1 Charles Butterfield 2012-11-26 18:09:47 UTC
OOPS - just realized this was already reported in https://bugzilla.redhat.com/show_bug.cgi?id=820229.  My bad :-(

Comment 3 Alasdair Kergon 2012-11-26 18:13:21 UTC

*** This bug has been marked as a duplicate of bug 820229 ***