그룹이 없는 죽은/오래된/존재하지 않는 논리 볼륨이 있습니다.
pvs 라고
File descriptor 3 (pipe:[306492]) leaked on pvs invocation. Parent PID 30844: -su
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-cluster1p2 not /dev/disk/by-id/dm-name-disco-cluster3p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-cluster2p2 not /dev/disk/by-id/dm-name-disco-cluster1p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-centos3p2 not /dev/disk/by-id/dm-name-disco-cluster2p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-centos2p2 not /dev/disk/by-id/dm-name-disco-centos3p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-nfs2 not /dev/disk/by-id/dm-name-disco-centos2p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-slackldap1p2 not /dev/disk/by-id/dm-name-disco-slackware3p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-slackware2p2 not /dev/disk/by-id/dm-name-disco-slackldap1p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-samba1p2 not /dev/disk/by-id/dm-name-disco-slackware2p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-cluster4p2 not /dev/disk/by-id/dm-name-disco-nfs2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-slackldap2p2 not /dev/disk/by-id/dm-name-disco-samba1p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-recovero2 not /dev/disk/by-id/dm-name-disco-slackldap2p2
PV VG Fmt Attr PSize PFree
/dev/disk/by-id/dm-name-disco-cluster4p2 lvm2 a-- 29,51g 29,51g
/dev/disk/by-id/dm-name-disco-nas2p1p1 lvm2 a-- 10,00g 10,00g
/dev/disk/by-id/dm-name-disco-recovero2 lvm2 a-- 32,91g 32,91g
/dev/disk/by-id/dm-name-disco-slackware4--1p1 lvm2 a-- 33,00g 33,00g
/dev/disk/by-id/dm-name-disco-slackware4--2p1 lvm2 a-- 1000,00g 1000,00g
/dev/disk/by-id/dm-name-disco-slackware4p2 lvm2 a-- 4,00t 4,00t
/dev/md127 disco lvm2 a-- 8,19t 2,56t
유일하게 활성화된 것은 md127이 있는 disco인데, 다른 nas2p1p1 등은 왜 아직 살아 있나요? 어떻게 영구적으로 삭제할 수 있나요? 이전 VG 그룹에 대해 lvremove 및 vgremove를 수행했습니다.
vgs 라고
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-cluster1p2 not /dev/disk/by-id/dm-name-disco-cluster3p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-cluster2p2 not /dev/disk/by-id/dm-name-disco-cluster1p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-centos3p2 not /dev/disk/by-id/dm-name-disco-cluster2p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-centos2p2 not /dev/disk/by-id/dm-name-disco-centos3p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-nfs2 not /dev/disk/by-id/dm-name-disco-centos2p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-slackldap1p2 not /dev/disk/by-id/dm-name-disco-slackware3p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-slackware2p2 not /dev/disk/by-id/dm-name-disco-slackldap1p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-samba1p2 not /dev/disk/by-id/dm-name-disco-slackware2p2
Found duplicate PV sun9LI9sXDLI2YPuMINH3xVos86c97eu: using /dev/disk/by-id/dm-name-disco-cluster4p2 not /dev/disk/by-id/dm-name-disco-nfs2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-slackldap2p2 not /dev/disk/by-id/dm-name-disco-samba1p2
Found duplicate PV 8M3D5lq37NOiKJ60lwxnS3fK40ybvl2S: using /dev/disk/by-id/dm-name-disco-recovero2 not /dev/disk/by-id/dm-name-disco-slackldap2p2
VG #PV #LV #SN Attr VSize VFree
disco 1 19 0 wz--n- 8,19t 2,56t
그것을 처리하는 방법? 감사해요
답변1
알아냈어요. kpartx
몇 달 전에 백업용으로 사용하고 있었는데 장치를 종료하는 것을 잊어버렸습니다 kpartx -d
. partprobe를 사용하면 가상 머신에 속한 lvm 볼륨이 서버로 "내보내지고" /dev/mapper가 중복 lvms로 채워졌기 때문에 /dev/mapper의 모든 장치에 대해 kpartx -d를 사용했고 상황은 다음과 같이 돌아왔습니다. 정상. lvs,pvs,vgs는 이제 오류 메시지를 표시하지 않습니다.