グループのないデッド/古い/存在しない論理ボリュームがあります。
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 はエラーメッセージを表示しません。