pvremove 操作造成如下问题
[root@localhost ~]# pvdisplay
Couldn't find device with uuid cSi4vX-neg1-seme-1t1B-B0cb-QFUw-rT3F3M.
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup
PV Size 19.51 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 4994
Free PE 0
Allocated PE 4994
PV UUID 7p34Dc-1dzy-RAkM-IdSK-JqgE-sEUL-Mlb0Oc
--- Physical volume ---
PV Name unknown device
VG Name VolGroup
PV Size 10.00 GiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 2559
Free PE 2559
Allocated PE 0
PV UUID cSi4vX-neg1-seme-1t1B-B0cb-QFUw-rT3F3M
执行 vgreduce --removemissing VolGroup即可修复
[root@localhost ~]# vgreduce --removemissing VolGroup
Couldn't find device with uuid cSi4vX-neg1-seme-1t1B-B0cb-QFUw-rT3F3M.
Wrote out consistent volume group VolGroup
[root@localhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup
PV Size 19.51 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 4994
Free PE 0
Allocated PE 4994
PV UUID 7p34Dc-1dzy-RAkM-IdSK-JqgE-sEUL-Mlb0Oc
posted on 2014-05-19 14:54
回忆之城 阅读(352)
评论(0) 编辑 收藏 引用 所属分类:
unix/linux