[linux-lvm] what todo with broken cachedev?

Zdenek Kabelac zdenek.kabelac at gmail.com
Mon Aug 11 12:55:55 UTC 2014


Dne 9.8.2014 19:25, Oliver Rath napsal(a):
> Hi list,
>
> assuming a cached device mylv from /dev/sda1 with cachepool from
> /dev/sdb1 (ssd i.e.):
>
> If now the ssd crashes and the cachemode is "writethrough" i think,
> there is no data loss for my lv's, right?
>
> But then mylv runs without a cache device although the device is set in
> metadata.
>
> The command lvreduce cant remove the cache-attribut. vgreduce *could*
> remove it, right? But only if there is no usage bei the cachepool-device
> anymore.
>
> Is there a solution for that?


Cache support is still experimental - so please open bugzillas
for your issues found on  bugzilla.redhat.com
(if you are not using Fedora/RHEL - use Fedora Rawhide for your reports)

I assume your problem is likely related to still missing repair support
for cached volumes.

You would need to use  cache utils  (cache_check, cache_repair, cache_dump...) 
to fix broken metadata.

Zdenek




More information about the linux-lvm mailing list