Jeremy Smith
2014-02-14 19:21:40 UTC
I have a system currently using LVM2 that was originally set up on
RHEL5 (where thin provisioning was not supported).
This system would greatly benefit from the newer thin provisioning
features, and so I am investigating upgrading to RHEL6 so that I may
take advantage. My question is this: Can I convert existing LVM2
"thick" logical volumes into thinly-provisioned volumes on the fly?
This page:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/thinly_provisioned_volume_creation.html
lead me to believe that it is possible:
"You can use the --thinpool parameter of the lvconvert command to
convert an existing logical volume to a thin volume."
with the following:
lvconvert --thinpool vg001/lv1 --poolmetadata vg001/lv2
However, I seem to not understand how that works.
RHEL5 (where thin provisioning was not supported).
This system would greatly benefit from the newer thin provisioning
features, and so I am investigating upgrading to RHEL6 so that I may
take advantage. My question is this: Can I convert existing LVM2
"thick" logical volumes into thinly-provisioned volumes on the fly?
This page:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/thinly_provisioned_volume_creation.html
lead me to believe that it is possible:
"You can use the --thinpool parameter of the lvconvert command to
convert an existing logical volume to a thin volume."
with the following:
lvconvert --thinpool vg001/lv1 --poolmetadata vg001/lv2
However, I seem to not understand how that works.