Re: LVM cachepool inconsistency after power event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 5, 2021 at 06:35 AM Ming-Hung Tsai <mingnus@xxxxxxxxx> wrote:
>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

Thanks for your help, this is what I get:
$ sudo lvchange -ay -f vg0/wdata_cachepool_cpool_cmeta
Do you want to activate component LV in read-only mode? [y/n]: y
  Allowing activation of component LV.
$ sudo cache_check /dev/mapper/vg0-wdata_cachepool_cpool_cmeta
examining superblock
examining mapping array
  missing mappings [1, 0]:
    missing blocks
examining hint array
  missing mappings [1, 0]:
    missing blocks
examining discard bitset
$ echo $?
1
$ sudo lvchange -an -f vg0/wdata_cachepool_cpool_cmeta
$ sudo lvchange -ay   vg0/tpg1-wdata
  Check of pool vg0/wdata_cachepool_cpool failed (status:1). Manual
repair required!

Regards,
Krzysztof Chojnowski

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux