Bug 1280473 - lvm2 should not allow reducing thin metadata LV
Summary: lvm2 should not allow reducing thin metadata LV
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 22
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 20:03 UTC by Heinz Mauelshagen
Modified: 2015-12-15 10:45 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-15 10:45:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Heinz Mauelshagen 2015-11-11 20:03:25 UTC
Description of problem:

Able to shrink a thin pool metadata LV causes kernel
to complain about the reduced size.

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

kernel 4.2.3-200.fc22 and upstream 4.3.0
lvm 2.02.116(2)

How reproducible:

Always.

Steps to Reproduce:
1. create thin_pool
2. grow thin pool metadata LV
3. shrink  "

Actual results:

Kernel complains about metadata device being too small

Expected results:

lvm2 should prevent reducing pool metadata LV
untill dm-thin gets enhanced to cope with it.


Additional info:

Comment 1 Zdenek Kabelac 2015-11-19 15:27:41 UTC
Resolved with upstream release of lvm2 2.02.129

https://www.redhat.com/archives/lvm-devel/2015-August/msg00166.html

Comment 2 Peter Rajnoha 2015-12-15 10:45:46 UTC
This is already fixed in Fedora 23 release (where we have lvm2 > 2.02.129).


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