OK, I managed! I had to add more modules
sudo echo "dm_cache" >> /etc/initramfs-tools/modules sudo echo "dm_cache_mq" >> /etc/initramfs-tools/modules sudo echo "dm_persistent_data" >> /etc/initramfs-tools/modules sudo echo "dm_bufio" >> /etc/initramfs-tools/modules
plus, add cache_check as in http://forums.debian.net/viewtopic.php?f=5&t=119644
Booted!
This is how I set up the lvmcache sudo vgextend LinuxVG /dev/sdb2 sudo lvcreate -L 10G -n rootCacheLV LinuxVG /dev/sdb2 sudo lvcreate -L 24M -n rootCacheMetaLV LinuxVG /dev/sdb2 sudo lvcreate -L 10G -n homeCacheLV LinuxVG /dev/sdb2 sudo lvcreate -L 24M -n homeCacheMetaLV LinuxVG /dev/sdb2 sudo lvconvert --type cache-pool --poolmetadata LinuxVG/rootCacheMetaLV --cachemode writethrough LinuxVG/rootCacheLV sudo lvconvert --type cache-pool --poolmetadata LinuxVG/homeCacheMetaLV --cachemode writethrough LinuxVG/homeCacheLV sudo lvconvert --type cache --cachepool LinuxVG/rootCacheLV LinuxVG/rootLV sudo lvconvert --type cache --cachepool LinuxVG/homeCacheLV LinuxVG/homeLV
where LinuxVG has the root at rootLV and home at homeLV and sdb2 is an SSD
OK, I managed! I had to add more modules
sudo echo "dm_cache" >> /etc/initramfs- tools/modules tools/modules data" >> /etc/initramfs- tools/modules tools/modules
sudo echo "dm_cache_mq" >> /etc/initramfs-
sudo echo "dm_persistent_
sudo echo "dm_bufio" >> /etc/initramfs-
plus, add cache_check as in forums. debian. net/viewtopic. php?f=5& t=119644
http://
Booted!
This is how I set up the lvmcache rootCacheMetaLV --cachemode writethrough LinuxVG/rootCacheLV homeCacheMetaLV --cachemode writethrough LinuxVG/homeCacheLV
sudo vgextend LinuxVG /dev/sdb2
sudo lvcreate -L 10G -n rootCacheLV LinuxVG /dev/sdb2
sudo lvcreate -L 24M -n rootCacheMetaLV LinuxVG /dev/sdb2
sudo lvcreate -L 10G -n homeCacheLV LinuxVG /dev/sdb2
sudo lvcreate -L 24M -n homeCacheMetaLV LinuxVG /dev/sdb2
sudo lvconvert --type cache-pool --poolmetadata LinuxVG/
sudo lvconvert --type cache-pool --poolmetadata LinuxVG/
sudo lvconvert --type cache --cachepool LinuxVG/rootCacheLV LinuxVG/rootLV
sudo lvconvert --type cache --cachepool LinuxVG/homeCacheLV LinuxVG/homeLV
where LinuxVG has the root at rootLV and home at homeLV and sdb2 is an SSD