Bug 860476 - RFE: support lvcreate thin provisioning
Summary: RFE: support lvcreate thin provisioning
Keywords:
Status: CLOSED DUPLICATE of bug 1060287
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-25 22:30 UTC by joshua
Modified: 2016-04-13 21:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-13 21:19:01 UTC
Embargoed:


Attachments (Terms of Use)
creating a new storage volume with virt-manager (34.62 KB, image/png)
2012-09-25 22:33 UTC, joshua
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1060287 0 unspecified CLOSED RFE: support pools of thin lvm 2023-03-08 22:42:39 UTC

Internal Links: 1060287

Description joshua 2012-09-25 22:30:50 UTC
Description of problem:

virt-manager, after adding an LVM-based storage pool, doesn't actually create thin Logical Volumes... even when specifying it to do so.   See attached picture.


What's more, if a thinpool VL exists, virt-manager refused to even allow the creation of an LVM storage pool using that Volume Group:
# lvcreate VolGrpSlow0 --thinpool lv_thinpool --size 100G





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

virt-manager-0.9.4-1.fc17.noarch

Comment 1 joshua 2012-09-25 22:33:30 UTC
Created attachment 617295 [details]
creating a new storage volume with virt-manager

Max Capacity at 9000 megs, but currently allocation at 0... yet the LV create is just plain old 9000 megs... not thin provisioned

Comment 2 joshua 2012-09-25 22:47:12 UTC
To clarify, I'm using an already existing Volume Group, with other LVs on it.  

This works fine expect for the thin provisioning.

Comment 3 Cole Robinson 2012-10-14 01:38:11 UTC
We are requesting it, libvirt just needs to support it. But I guess this is a fairly new feature so we would need to be careful to maintain back compat:


http://www.redhat.com/archives/lvm-devel/2012-March/msg00062.html
http://fedoraproject.org/wiki/Features/ThinProvisioning

Comment 4 Steven Ellis 2015-04-23 22:40:26 UTC
Any progress on this as virt-manager can't even see existing thin LVs.

For example  
 - Create Thin Pool
 - Create Thin LV
 - Create a new VM via virt-manager and manually select the Thin VG as the Disk
 - virt-manager  deletes the Thin LV and creates a new FAT LV with the same name.

Comment 5 Cole Robinson 2016-04-13 21:19:01 UTC
(In reply to Steven Ellis from comment #4)
> Any progress on this as virt-manager can't even see existing thin LVs.
> 
> For example  
>  - Create Thin Pool
>  - Create Thin LV
>  - Create a new VM via virt-manager and manually select the Thin VG as the
> Disk
>  - virt-manager  deletes the Thin LV and creates a new FAT LV with the same
> name.

steven, if you are still hitting unexpected virt-manager behavior, please file a bug against virt-manager and list your virt-manager + libvirt versions

As for this bug, just duping to the feature request being tracked under product=RHEL7 since that's where all the interesting info is

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


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