FS#41291 - [lvm2] Add dm-cache support
Attached to Project:
Arch Linux
Opened by Kyle (2bluesc) - Tuesday, 22 July 2014, 06:05 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 23 July 2014, 02:12 GMT
Opened by Kyle (2bluesc) - Tuesday, 22 July 2014, 06:05 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 23 July 2014, 02:12 GMT
|
Details
Description:
The lvm2 package is missing a configure flag for recently added dm-cache support. Additional info: * package version(s): lvm2-2.02.107-2-x86_64 Review http://rwmj.wordpress.com/2014/05/22/using-lvms-new-cache-feature/ for background. Steps to reproduce: lvconvert --type cache-pool --poolmetadata vg1/cache0_metadata vg1/cache0 WARNING: Unrecognised segment type cache-pool Expected output: lvconvert --type cache-pool --poolmetadata vg1/cache0_metadata vg1/cache0 WARNING: Converting "vg1/cache0" logical volume to pool's data volume. THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.) Do you really want to convert "vg1/cache0"? [y/n]: y WARNING: Converting "vg1/cache0_metadata" logical volume to pool's metadata volume. THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.) Do you really want to convert "vg1/cache0_metadata"? [y/n]: y Logical volume "lvol0" created Converted "vg1/cache0" to cache pool. Fix: Attached patch and updated PKGBUILD work for me. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 23 July 2014, 02:12 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#40754
Wednesday, 23 July 2014, 02:12 GMT
Reason for closing: Duplicate
Additional comments about closing:
https://bugzilla.redhat.com/show_bug.cgi?id=1043646#c15
RPM Spec file includes the same suggested configure flag:
https://git.fedorahosted.org/cgit/lvm2.git/tree/spec/source.inc?id=e538354e281c7b00667b3385878b4c32693359b5#n16