Starting an LXC from a recovered raw file

corianito

Well-Known Member
Jul 20, 2019
46
0
46
38
Hello!

I had a very serious problem with another proxmox node and had to remove all the servers using their .raw images.

The thing is that all the KVMs are working correctly, but I have 3 LXCs that I don't know what to do to start them from the raw file.

Any help?
 
Hi,
try to re-create the LXC configuration as good as you remember. Easiest is probably to create a dummy container with whatever template and replace it's root disk with your .raw image afterwards. Then do a pct rescan --vmid <ID> to have the correct size in the configuration.