[LVM] volume group(VG) 삭제 안되는 문제 해결
- IT/OS
- 2021. 8. 5.
반응형
반응형
VG를 삭제하려고 하는데 찾을 수 없는 PV들이 있어서 정상적으로 삭제가 되지 않음
[root@db-1 dev]# vgremove vg_1
WARNING: Device for PV ADmbXc-e6Oj-NQDc-Qbz5-B0iJ-NKwY-meu6j9 not found or rejected by a filter.
WARNING: Device for PV 2eN2R7-ppIp-BdKd-uM6Q-wgg1-tPkm-km0ytz not found or rejected by a filter.
WARNING: Device for PV 0gAe8I-b56v-F8xG-49D6-e7fU-tUEL-cnZpe3 not found or rejected by a filter.
WARNING: Device for PV yJn4Sj-E6Th-7mAe-0eeS-hxGy-MujS-5DjW76 not found or rejected by a filter.
Couldn't find device with uuid ADmbXc-e6Oj-NQDc-Qbz5-B0iJ-NKwY-meu6j9.
Couldn't find device with uuid 2eN2R7-ppIp-BdKd-uM6Q-wgg1-tPkm-km0ytz.
Couldn't find device with uuid 0gAe8I-b56v-F8xG-49D6-e7fU-tUEL-cnZpe3.
Couldn't find device with uuid yJn4Sj-E6Th-7mAe-0eeS-hxGy-MujS-5DjW76.
Volume group "vg_1" not found, is inconsistent or has PVs missing.
Consider vgreduce --removemissing if metadata is inconsistent.
- "vgreduce --removemissing" 명령어로 missing 된 물리볼륨(PV)들을 삭제
- 데이터를 복구하려면 절대 진행하면 안됨.
[root@db-1 dev]# vgreduce --removemissing vg_1
WARNING: Device for PV ADmbXc-e6Oj-NQDc-Qbz5-B0iJ-NKwY-meu6j9 not found or rejected by a filter.
WARNING: Device for PV 2eN2R7-ppIp-BdKd-uM6Q-wgg1-tPkm-km0ytz not found or rejected by a filter.
WARNING: Device for PV 0gAe8I-b56v-F8xG-49D6-e7fU-tUEL-cnZpe3 not found or rejected by a filter.
WARNING: Device for PV yJn4Sj-E6Th-7mAe-0eeS-hxGy-MujS-5DjW76 not found or rejected by a filter.
Couldn't find device with uuid ADmbXc-e6Oj-NQDc-Qbz5-B0iJ-NKwY-meu6j9.
Couldn't find device with uuid 2eN2R7-ppIp-BdKd-uM6Q-wgg1-tPkm-km0ytz.
Couldn't find device with uuid 0gAe8I-b56v-F8xG-49D6-e7fU-tUEL-cnZpe3.
Couldn't find device with uuid yJn4Sj-E6Th-7mAe-0eeS-hxGy-MujS-5DjW76.
Wrote out consistent volume group vg_1.
다시 vgremove로 볼륨그룹 삭제
[root@db-1 dev]# vgremove vg_1
Volume group "vg_1" successfully removed
반응형
'IT > OS' 카테고리의 다른 글
apt-get proxy(프록시) 설정하기 (0) | 2022.06.24 |
---|---|
[이슈 해결] cannot find a valid baseurl for repo base/7/x86_64 (0) | 2021.08.11 |
[해결] 에러 - no supported authentication methods available (server sent publickey gssapi-keyex gssapi-with-mic) (0) | 2021.07.27 |
THP(Transparent Huge Pages) 비활성화 설정 (0) | 2021.04.24 |
ESXi Cli command 명령어 (0) | 2021.03.23 |