After successfully creating the Meta and Cache LVs and combining them with lvconvert, I then go to associate the Cachepool with the slow LV and get the following error.
lvconvert --type cache --cachepool vgVMs9/VMs9Cache vgVMs9/VMs9 Do you want wipe existing metadata of cache pool vgVMs9/VMs9Cache? [y/n]: y
device-mapper: reload ioctl on (254:0) failed: Invalid argumentFailed to lock logical volume vgVMs9/VMs9.I have successfully done this on another identical system in exactly the same way using http://fibrevillage.com/storage/460-how-to-create-lvm-cache-logical-volume
The failing system has had a number of LV’s and VG’s removed and added and so I suspect there is an issue with the LV Metadata but I cannot discover where. Everything looks ok when I look at the following before re-creating the vg or lv from scratch. I’ve even destroyed the physical array and re-created it to a different sd.
When I try and create the cache to the other two LV’s I also get the same error.
dmsetup info -C results
pvs -a results
sdb is the SSD for caching sde is the SATA Raid10 Array
Any help on the next move would be gratefully appreciated.