Remove faulty disk from VG

Alexandrino

Renowned Member
Jan 31, 2016
3
0
66
34
Hi,

I had a VG with two disks and one of them stopped working and I had to remove it. This PV appears as unknown device and I can not remove this PV from VG, I already tried vgreduce --removemissing --force but it did not work. Also it did not work to delete the VMs that were in that VG.

Please, can anyone help me ?

Code:
root@px1:/# vgs
  Couldn't find device with uuid qeyvez-PjEh-a0dB-hJmA-8oUs-GPRm-X1E30e.
  VG   #PV #LV #SN Attr   VSize   VFree
  pve    2  12   0 wz-pn- 557.49g    0
root@px1:/# pvs
  Couldn't find device with uuid qeyvez-PjEh-a0dB-hJmA-8oUs-GPRm-X1E30e.
  PV             VG   Fmt  Attr PSize   PFree
  /dev/sda3      pve  lvm2 a--  278.62g    0
  unknown device pve  lvm2 a-m  278.87g    0
root@px1:/# vgreduce pve --removemissing --force
  Couldn't find device with uuid qeyvez-PjEh-a0dB-hJmA-8oUs-GPRm-X1E30e.
  Removing partial LV data.
  Cannot activate pvedata_tdata: pool incomplete.
  Failed to update pool pve/data.