Check of thin pool failed (status:1). Manual repair required!
Issue
- Thin pool cannot be activated after reboot.
-
metadata lv for thinpool is full logs exist in /var/log/messages and vgscan shows the metadata seems to be corrupted.
A sample of
/var/log/messages
lvm[XX]: WARNING: Thin pool <VG name>-<thinpool name>-tpool metadata is now 93.26% full. lvm[XX]: WARNING: Thin pool <VG name>-<thinpool name>-tpool metadata is now 93.28% full. kernel: device-mapper: thin: 253:13: reached low water mark for metadata device: sending event. kernel: device-mapper: space map metadata: unable to allocate new metadata block kernel: device-mapper: space map metadata: unable to allocate new metadata block lvm[XX]: WARNING: Thin pool <VG name>-<thinpool name>-tpool metadata is now 100.00% full.
A sample of
vgscan
# vgscan WARNING: Locking disabled. Be careful! This could corrupt your metadata. Using volume group(s) on command line. WARNING: /dev/<VG name>/<thin provisioned LV name>: Thin's thin-pool needs inspection.
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- lvm2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.