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
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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 
Comment by Kyle (2bluesc) - Tuesday, 22 July 2014, 06:14 GMT

Loading...