[linux-lvm] LVM cachepool inconsistency after power event

Ming-Hung Tsai mingnus at gmail.com
Tue Oct 5 10:34:44 UTC 2021


Could you help run cache_check independently, to see the error messages? Thanks.

# sudo lvchange -ay -f vg0/wdata_cachepool_cpool_cmeta
# sudo cache_check /dev/mapper/vg0-wdata_cachepool_cpool_cmeta
# sudo lvchange -an -f vg0/wdata_cachepool_cpool_cmeta

Ming-Hung Tsai

On Tue, Oct 5, 2021 at 1:26 PM Krzysztof Chojnowski <frirajder at gmail.com> wrote:
> Trying to activate the tpg1-wdata LV results in an error:
> sudo lvchange -ay -v vg0/tpg1-wdata
>   Executing: /usr/sbin/cache_check -q
> /dev/mapper/vg0-wdata_cachepool_cpool_cmeta
>   /usr/sbin/cache_check failed: 1
>   Piping: /usr/sbin/cache_check -V
>   Found version of /usr/sbin/cache_check 0.9.0 is better then requested 0.7.0.
>   Check of pool vg0/wdata_cachepool_cpool failed (status:1). Manual
> repair required!

More information about the linux-lvm mailing list