Extract VM from LVM

yandres2000

New Member
Mar 12, 2020
2
0
1
43
Hi, i´m new using Proxmox and a couple of days ago my it failed to start and I could not solve the problem that caused it. I ask for guidance to repair the boot system or otherwise save the virtual machines so as not to lose the data and then reinstall another proxmox.

ERROR
My proxmox gave an error "/sbin/init: error while loading shared libraries: libdl.so.2: Cannot open shared object file: No such file or directory"

- Is there any way to fix it.

If Not, then how could I get the Virtual Disk / Virtual Machine to add them to another proxmox and reinstall the old one

Thanks in advance.....
 
Last edited:
ERROR
My proxmox gave an error "/sbin/init: error while loading shared libraries: libdl.so.2: Cannot open shared object file: No such file or directory"

- Is there any way to fix it.

Both - the VM-copy as the libdl.so.2 fix - require booting a live linux and doing stuff on your PVE install - both highly advanced stuff. It is a lengthy with a lot of forth and back communication that'll take maybe hours or even days.

How familiar are you with Linux in general?
 
To tell the truth, not much experience, only basic because I specialize in programming but due to life circumstances I have now been managing networks.
Having few work resources, the server did not performed backup correctly. Inside the proxmox there is a server with the whole accounting system from which there are no backups since about a month. I would need to access that server to copy its image and restore it in another proxmox so I can restart that service.
 
So, this is going to be lengthy on a forum. First, you need to get a linux live cd and boot it up.

After that, you need to run the following commands:
* pvs
* vgs
* lvs

and you need your vmid you want to restore (or all if you want to get all VMs off the system). You also need a network storage or local attached disk to write the images to.

If you get all, report back.