VM start issues

Juliano Silva

Well-Known Member
Oct 15, 2017
186
3
58
40
Hello

I am having trouble starting VM as I can solve this problem urgently .... see picture
 

Attachments

  • Capturar.JPG
    Capturar.JPG
    148.6 KB · Views: 38
Yes,

can you indicate a company that help me with this problem? I have 200 sites in VM are offline ..

I pay for the support
 
Hi,
what has changed, that the VMs have boot-problems?

How looks the VM-config?
Code:
cat /etc/pve/qemu-server/VMID.conf
Which pve-version do you use?
Code:
pveversion -v
Any messages, if you start the VM from the console?
Code:
qm start VMID
Have you look with "systemctl status ..." like discribed in the VM-console?

What OS (version) run inside the VMs?

Udo
 
root@s115341:/# cat /etc/pve/qemu-server/106.conf
boot: cda
bootdisk: sata0
cores: 6
cpu: kvm64
cpulimit: 0
cpuunits: 370
memory: 8096
name: srv.xxxxxxxxx.com.br
net0: e1000=C2:5A:69:DF:4C:7D,bridge=vmbr1
numa: 0
onboot: 1
sata0: local:106/vm-106-disk-1.qcow2,cache=writeback,size=550G
smbios1: uuid=38c2752e-82e8-46ad-92f0-6cb9cdd0c3ce



root@s115341:/# pveversion -v
proxmox-ve: 4.4-95 (running kernel: 4.4.79-1-pve)
pve-manager: 4.4-18 (running version: 4.4-18/ef2610e8)
pve-kernel-4.4.79-1-pve: 4.4.79-95
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0.1-1
pve-cluster: 4.0-52
qemu-server: 4.0-112
pve-firmware: 1.1-11
libpve-common-perl: 4.0-96
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-101
pve-firewall: 2.0-33
pve-ha-manager: 1.0-41
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
fence-agents-pve: 4.0.20-1


root@s115341:/# qm start 106
VM 106 already running


What OS (version) run inside the VMs?
CentOS


[root@srv ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
 
root@s115341:/# cat /etc/pve/qemu-server/106.conf
boot: cda
bootdisk: sata0
cores: 6
cpu: kvm64
cpulimit: 0
cpuunits: 370
memory: 8096
name: srv.xxxxxxxxx.com.br
net0: e1000=C2:5A:69:DF:4C:7D,bridge=vmbr1
numa: 0
onboot: 1
sata0: local:106/vm-106-disk-1.qcow2,cache=writeback,size=550G
smbios1: uuid=38c2752e-82e8-46ad-92f0-6cb9cdd0c3ce
Hi,
the memory is strange and any reason, why you use sata? (but I don't think this is the reason for the non-booting)
are the cpuunits right?
I would try following config - save the original before, like "cp -p /etc/pve/qemu-server/106.conf /root/106.conf"
Code:
boot: cda
bootdisk: virtio0
cores: 6
cpu: kvm64
memory: 8192
name: srv.xxxxxxxxx.com.br
net0: virtio=C2:5A:69:DF:4C:7D,bridge=vmbr1
numa: 1
onboot: 1
virtio0: local:106/vm-106-disk-1.qcow2,cache=writeback,size=550G
smbios1: uuid=38c2752e-82e8-46ad-92f0-6cb9cdd0c3ce
Perhaps it's need modification inside the vm because different nic-driver + disk-driver. (virtio-scsi is the better choice, but don't change too much at one time).
root@s115341:/# pveversion -v
proxmox-ve: 4.4-95 (running kernel: 4.4.79-1-pve)
pve-manager: 4.4-18 (running version: 4.4-18/ef2610e8)
pve-kernel-4.4.79-1-pve: 4.4.79-95
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0.1-1
pve-cluster: 4.0-52
qemu-server: 4.0-112
pve-firmware: 1.1-11
libpve-common-perl: 4.0-96
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-101
pve-firewall: 2.0-33
pve-ha-manager: 1.0-41
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
fence-agents-pve: 4.0.20-1
do an
Code:
apt update
apt dist-upgrade
root@s115341:/# qm start 106
VM 106 already running
You must stop VM 106 before you can start the VM on the console again.
What OS (version) run inside the VMs?
CentOS


[root@srv ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
I'm not an redhat/centos specialist...

Udo
 
what is the command for me to do scandisc for my VM ?

e2fsck vm-106-disk-1.qcow2
Hi.
vm-106-disk-1.qcow2 is an hdd-container, like an normal hdd with partitiontable and different partitions (depends on content) in an qcow2-format.

Filesystem-check can be done from inside the VM - connect an live-cd to the VM (like grml), use this as boot-disk and boot the live-cd.

From the live-cd you can do an filesystem-check.

Anyway - what is about output of the questions?
what has changed, that the VMs have boot-problems?
Any messages, if you start the VM from the console?
Have you look with "systemctl status ..." like discribed in the VM-console?
Udo
 
Yes VM is not starting I had problems why VM was shut down forced why server crashed ..

see image below VM error
https://forum.proxmox.com/attachments/capturar-jpg.6009/
Hi,
again - boot an live-cd distro.

Or try boot in single user mode: https://www.tecmint.com/boot-into-single-user-mode-in-centos-7/
But you should know what to do to repair the system. Because there are no info about an corrupt filesystem. Looks more like network trouble.

Is vmbr1 functional?

Udo
 
Doubt

boot an live-cd distro, am I going to lose information that are inside my VPS? I have 80 sites
 
Bom dia estou com problemas na inicialização de Vm no proxmox caído na tela booting from hard disk.
 

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!