I am looking to create a group of thin provisioned LVs using LVM.
Is it possible to create a volume group in which every logical volume created is by default thin provisioned, or perhaps there is another way of doing this?
This would be for RHEL6.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityI am looking to create a group of thin provisioned LVs using LVM.
Is it possible to create a volume group in which every logical volume created is by default thin provisioned, or perhaps there is another way of doing this?
This would be for RHEL6.
LVM Thin Provisioning is currently a proposed feature of RHEL 7, it is not available by default in RHEL 6.
Edit: I was wrong, LVM thin provisioning was officially added in RHEL 6.4
From the release announcement:
After a long break, we've issued a new LVM2 release, 2.02.89.
...
This release includes experimental support for thinly-provisioned logical volumes using the new device-mapper thin provisioning target in kernel 3.2.
As of writing, Debian stable has lvm2 at version 2.02.95-7; Ubuntu is summarised as:
Thin provisioning for LVMs will be introduced in RHEL 7. If everything goes well...
EDIT: As stated above, RHEL 6.4 introduced experimental support for thin provisioned LVMs. I personally would stay as far as possible on production systems from experimental stuff.