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

Attached to Project: Arch Linux
Opened by Daniel Wendler (BMRMorph) - Monday, 04 August 2014, 08:58 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 04 August 2014, 09:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

New bug from https://bugs.archlinux.org/task/40754 for LVM version 2.02.108.

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.108

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  Laurent Carlier (lordheavy)
Monday, 04 August 2014, 09:40 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#40754 

Loading...