Bug 1274762
Summary: | "Internal error: pool_is_active called with non-pool LV" and confusing error message when running --repair on cpool. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Marian Csontos <mcsontos> |
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
lvm2 sub component: | Cache Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, msnitzer, prajnoha, zkabelac |
Version: | 7.2 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.152-1.el7 | Doc Type: | Bug Fix |
Doc Text: |
lvm2 properly reports error about unsupported --repair operation for cache-pool.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 04:11:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1295577, 1313485 |
Description
Marian Csontos
2015-10-23 13:49:16 UTC
Sorry, it's cpool. For now cache pool repair is unsupported. Providing better error message: https://www.redhat.com/archives/lvm-devel/2015-November/msg00137.html This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Fix verified in the latest rpms. BEFORE: lvm2-2.02.130-5.el7_2.5 [root@host-006 ~]# lvconvert --repair cache_sanity/pool_cmeta Can't repair LV "pool_cmeta" of segtype linear. [root@host-006 ~]# lvconvert --repair cache_sanity/pool Internal error: pool_is_active called with non-pool LV pool. syscall 'open' failed: Device or resource busy Note: you cannot run this tool with these options on live metadata. Repair of thin metadata volume of thin pool cache_sanity/pool failed (status:1). Manual repair required! Device cache_sanity-pool_cmeta (253:4) is used by another device. Cannot deactivate thin pool metadata volume pool_cmeta. AFTER: lvm2-2.02.161-3.el7.x86_64 [root@host-078 ~]# lvconvert --repair cache_sanity/pool_cmeta Operation not permitted on striped or linear LV cache_sanity/pool_cmeta. Operations permitted on a striped or linear LV are: --merge --type snapshot --type thin --type cache --type thin-pool --type cache-pool --type mirror --type raid* [root@host-078 ~]# lvconvert --repair cache_sanity/pool Operation not permitted on cache pool LV cache_sanity/pool. Operations permitted on a cache pool LV are: --splitcache (operates on cache LV) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1445.html |