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 1259348 - lvm: thin pool attribute does not change when the pool is not active
Summary: lvm: thin pool attribute does not change when the pool is not active
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-02 12:34 UTC by Bruno Goncalves
Modified: 2023-03-08 07:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-02 12:35:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bruno Goncalves 2015-09-02 12:34:08 UTC
Description of problem:
Changing LV thinp pool to not active its attribute does not change, it keeps showing twi-aotz--


# lvs tsvg/pool1
  LV    VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  pool1 tsvg twi-aotz-- 100.00m             0.00   0.98   

Version-Release number of selected component (if applicable):
lvm2-2.02.115-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
# pvs
  PV         VG                Fmt  Attr PSize   PFree  
  /dev/loop0 tsvg              lvm2 a--  124.00m  16.00m
  /dev/loop1 tsvg              lvm2 a--  124.00m  72.00m
  /dev/loop2 tsvg              lvm2 a--  124.00m  72.00m
  /dev/loop3 tsvg              lvm2 a--  124.00m 120.00m

# vgs
  VG                #PV #LV #SN Attr   VSize   VFree  
  tsvg                4   4   0 wz--n- 496.00m 280.00m

# lvs
  LV    VG                Attr       LSize   Pool  Origin Data%  Meta%  Move Log Cpy%Sync Convert
  lv1   tsvg              Vwi-a-tz-- 100.00m pool1        0.00                                   
  lv2   tsvg              Vwi-a-tz-- 100.00m pool2        0.00                                   
  pool1 tsvg              twi-aotz-- 100.00m              0.00   0.98                            
  pool2 tsvg              twi-aotz-- 104.00m              0.00   0.98  

# lvdisplay tsvg/pool1
  --- Logical volume ---
  LV Name                pool1
  VG Name                tsvg
  LV UUID                JaJup9-taVe-QOvU-51CO-jExV-tCHf-WjfDnb
  LV Write Access        read/write
  LV Creation host, time storageqe-07.lab.bos.redhat.com, 2015-09-02 07:45:13 -0400
  LV Pool metadata       pool1_tmeta
  LV Pool data           pool1_tdata
  LV Status              available
  # open                 2
  LV Size                100.00 MiB
  Allocated pool data    0.00%
  Allocated metadata     0.98%
  Current LE             25
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:5

# lvs tsvg/pool1
  LV    VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  pool1 tsvg twi-aotz-- 100.00m             0.00   0.98 

# lvchange -an tsvg/pool1
#

# lvdisplay tsvg/pool1
  --- Logical volume ---
  LV Name                pool1
  VG Name                tsvg
  LV UUID                JaJup9-taVe-QOvU-51CO-jExV-tCHf-WjfDnb
  LV Write Access        read/write
  LV Creation host, time storageqe-07.lab.bos.redhat.com, 2015-09-02 07:45:13 -0400
  LV Pool metadata       pool1_tmeta
  LV Pool data           pool1_tdata
  LV Status              NOT available
  LV Size                100.00 MiB
  Allocated pool data    0.00%
  Allocated metadata     0.98%
  Current LE             25
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

# lvs tsvg/pool1
  LV    VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  pool1 tsvg twi-aotz-- 100.00m             0.00   0.98  


Actual results:
Attr is twi-aotz--

Expected results:
Attr should be twi---tz--

Comment 1 Bruno Goncalves 2015-09-02 12:35:38 UTC
It is already fixed on lvm2-2.02.128-1.el7.x86_64

# lvs tsvg/pool1
  LV    VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  pool1 tsvg twi-aotz-- 100.00m             0.00   0.98             

# lvchange -an tsvg/pool1
#

# lvs tsvg/pool1
  LV    VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  pool1 tsvg twi---tz-- 100.00m             0.00   0.98


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