2

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.

1
  • Might be better addressed in SuperUser or UNIX SE.
    – mdpc
    May 23, 2013 at 21:02

3 Answers 3

4

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

3
  • Can it be added with installing device-mapper-persistent-data ? May 23, 2013 at 20:34
  • 2
    Actually, I was wrong, it was added in RHEL 6.4. Use the '-T' option in lvcreate. See new features in 6.4 at: access.redhat.com/site/documentation/en-US/…
    – Doug
    May 23, 2013 at 20:39
  • Awesome thanks for that. Do you happen to know if it is possible to make the entire Volume group thin provisioned? May 23, 2013 at 20:43
3

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:

  • 13.04 (current): 2.02.95
  • 12.04 (current LTS): 2.02.66
  • 10.04 (previous LTS): 2.02.54
1
  • But it is currently disabled in Wheezy (LVM 2.02.95-7) as thin_check binaries are missing.
    – Tino
    May 26, 2013 at 21:00
1

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.

1
  • 1
    Actually, the experimental support referenced above is from 01/2012. The support added to RHEL 6.4 was not indicated as a Technology Preview, therefore should be fully supported by Red Hat at this time.
    – Doug
    May 29, 2013 at 10:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .