LXC and QEMU .conf file not exist.

Mersa

Member
Sep 17, 2020
12
0
6
46
Istanbul, Turkey
Hello there, I took a backup of my LXC and KVM virtual machines and restored them on a different server. But now my servers are not visible in the server list and it says there is no conf file. I created a conf file, but there is still an error. How can I solve it? The conf file I created is;

Code:
arch: amd64
cores: 1
hostname: 590.www
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,gw=84.54.14.145,hwaddr=9A:80:8E:69:EA:F9,ip=84.54.14.156/27,type=veth
ostype: ubuntu
rootfs: local-lvm:vm-1480-disk-0,size=50G
swap: 512
 

Attachments

  • Screenshot_4.png
    Screenshot_4.png
    38.5 KB · Views: 7
can you post the output of 'pveversion -v' ?
 
Hi, below is the command output.

Code:
root@pve1:~# pveversion -v
proxmox-ve: 6.3-1 (running kernel: 5.4.73-1-pve)
pve-manager: 6.3-2 (running version: 6.3-2/22f57405)
pve-kernel-5.4: 6.3-1
pve-kernel-helper: 6.3-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-6
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.3-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.5-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.2-1
pve-container: 3.3-1
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-1
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1
 
first, i would recommend upgrading to the latest stable version.

please post the output of 'qm list' 'pct list' and the task log from the restore to see why it failed
 
'qm list' and 'pct list' are empty. After the restore the servers were listed and working. This issue arose after deleting the other server (the old server of the virtual machines) in the cluster. Currently, virtual machines are running, but I can't start the stopped ones and I can't take any action on the running ones.
 
if the restore worked, the config files must be restored. that's the reason i asked for the restore task log

what exactly did you do in what order?
do you have a cluster? where did you restore? where did you backup?
 
There were 2 proxmox nodes in the cluster. I took a backup from the virtual machines in node 1 and restored it in node 2. Then I completely deleted the node 1 server and turned it off. After closing I got errors about .conf files.
 
Then I completely deleted the node 1 server and turned it off
how did you do this? my guess is that the cluster does not have quorum anymore...

can you post the journal/logs ?

you can try to reestablish quorum on the single node by doing 'pvecm expected 1' (don't do this on normal production clusters, only when you are sure it's the only node left)
 

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!