Remove faulty disk from VG

Alexandrino

Renowned Member
Jan 31, 2016
3
0
66
33
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!