Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#40754 - [lvm2] fails to build support for cache target

Attached to Project: Arch Linux
Opened by teppic74 (teppic74) - Sunday, 08 June 2014, 01:56 GMT
Last edited by Eric Belanger (Snowman) - Monday, 04 August 2014, 18:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Thomas B├Ąchler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No



LVM supports the cache target (e.g. for speeding up access via an SSD). This is documented in the lvm man page under 'Cache', as well as individual man pages such as 'lvconvert'. This feature isn't enabled in the current build.

To include it, simply add '-with-cache=internal' to the configure options in the PKGBUILD.

LVM version: 2.02.106

Steps to reproduce:

Attempt to create a cache pool, e.g.:

[root@arch ~]# lvconvert --type cache-pool --poolmetadata /dev/vg0/CacheMetaLV /dev/vg0/CacheDataLV
WARNING: Unrecognised segment type cache-pool

After the cache option is supplied:

[root@arch ~]# lvconvert --type cache-pool --poolmetadata /dev/vg0/CacheMetaLV /dev/vg0/CacheDataLV
Logical volume "lvol0" created
Converted vg0/CacheDataLV to cache pool.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 04 August 2014, 18:00 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in svn trunk. Will be in the package next time it is updated.
Comment by Daniel Wendler (BMRMorph) - Tuesday, 01 July 2014, 09:49 GMT
Maybe this could be accomplished with the packet upgrade to 2.02.107?
Comment by Daniel Wendler (BMRMorph) - Monday, 04 August 2014, 08:55 GMT
Seems tha nobody takes care of this.
As 2.02.106 is outdated, i will open an new bug for 2.02.108.
Comment by teppic74 (teppic74) - Monday, 04 August 2014, 15:52 GMT
This is enabled as standard in Debian Testing/Unstable and Red Hat/Centos 7, by the way.