Skip to content

Dm Cache recovery

efimlosev edited this page Mar 26, 2017 · 10 revisions

Recovery from the failed DM-Cache on ubuntu 16.04

The problem

Boot failed into initrams when I have tried to setup Dm-Cache writeback cache using these tutorials https://people.redhat.com/mskinner/rhug/q1.2016/dm-cache.pdf https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1423796

The Solution

Boot into rescuecd

In /etc/lvm/lvm.conf change use_lvmetad = 1 to use_lvmetad = 0

lvremove vg/cache

Clone this wiki locally