Detaching a failed cache pool

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

 



Hi list,
    I have an LV with a corrupted cache. Looking at the cmeta using
cache_dump, I get this:

<superblock uuid="" block_size="128" nr_cache_blocks="0" policy=""
hint_width="4">
  <mappings>
metadata contains errors (run cache_check for details).
perhaps you wanted to run with --repair ?

    Running with --repair just produces metadata with no mappings and
hints, which is incorrect too.

    Obviously the metadata volume is corrupted beyond recovery, but I
am okay with that as it is a read-only LV and we are using the cache
for read acceleration. However, there seems to be no way for us to get
out of this state into something usable? I can't seem to remove the
cache from the LV. I've read through the documentation for lvmcache
and can't find any information about this.

    At the moment I can't access the original LV anymore. Whatever I
try to do always results in "Check of pool vg/lv-cache failed
(status:1). Manual repair required!" What am I missing?

Thanks!
Liwei

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.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