[SOLVED] Removed Logical Volume through the Proxmox VE Interface

limace255

Member
Jan 22, 2021
2
0
6
54
Hi all,
By inadvertence (I wanted to remove another logical volume), I clicked on "remove" on a wrong logical volume...
Completely stupid, I admit.
So, as this LV is the one one which I have everything, I want to know if there is a way to restore it (tried to look in /etc/lvm/backup and /etc/lvm/archive, but nothing recent is located there).
All 'lvs' and 'vgs' commands are stuck.

Thanks in advance !!
 
Ok, solved it.
The main point was that all commands related to LVM were stuck, so I could not repair anything, but all CTs and VMs were fine.
It was only the LV above that has been destroyed.
I edited /etc/pve/storage.cfg, and put an entry like
Code:
lvm: lv_prod-001
    vgname vg_prod-001
    content images,rootdir
    nodes node1, node2, node3
    shared 1
Rebooted each node one by one (and praying some IT god), and everything went back :)
 

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!