逻辑卷降vgchange拒绝激活

一个PV的分区被擦掉了,所以LV掉了下来。 恢复分区,但LV仍然不会出现。

lvs: bkupstore_lv bkupstore_vg -wi-----p- 21.76t vgs: VG #PV #LV #SN Attr VSize bkupstore_vg 4 1 0 wz-pn- 22.27t vgchange -ay bkupstore_vg Refusing activation of partial LV bkupstore_vg/bkupstore_lv. Use '--activationmode partial' to override. 0 logical volume(s) in volume group "bkupstore_vg" now active pvs: PV VG Fmt Attr /dev/mapper/mpathbp1 bkupstore_vg lvm2 a--u 16.00t /dev/mapper/mpathi bkupstore_vg lvm2 a--u 1024g /dev/mapper/mpathl bkupstore_vg lvm2 a--u 1.46t /dev/mapper/mpathmp4 bkupstore_vg lvm2 a-mu 3.80t fdisk Disk /dev/mapper/mpathm: 10179GB 1 heads, 1 sectors/track, -1 cylinders, total 19881000960 sectors Units = cylinders of 1* 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/mapper/mpathmp1 2 4294967286 2147483647+ ee GPT 

这一切都开始时,我试图增加更多的磁盘mpathm,然后调整分区的大小来增加bkupstore的大小。 失去分区的PV是mpathmp4。 恢复工具(testing盘)创build恢复分区成mpathmp4我认为它只是被称为mpathm

另外a-mu的pvs属性是什么意思?

我可以通过在/ etc / lvm / archive中使用configuration的副本来修复它。 删除了MISSING标志并做了一个vgcfgrestore -f [filename] [volgroup]

然后vgchange -ay volgroup工作。