Please help me! My Virtual Machine can't Start

I overflowed storage space of it. then,there is some error.I can't connect to one of the
you have to start the virtual machine before you can connect to it.
However, the virtual machine cannot be started. Even if you try to reinstall the system, it will automatically shut down.Everything was normal before this accident. Most of the previously installed virtual machines are running normally at present, but after the failure occurs, an error is reported when creating a new virtual machine.
 
Last edited:
Well,I think I found some reasons. When I deleted the virtual machine before, I did not delete the VM disk. Now when I try to delete the VM disk, the error message is that unlink '/mnt/sdc/images/108/vm-108-disk-0.qcow2' failed - Read only file system
 
I read some statements on the Internet that the disk file is damaged and can be restored with the repair command, but I am afraid that this will affect the currently running virtual machine.
 
If you just want to delete the vm, do the following in a shell window:

rm /etc/pve/qemu-server/108.conf
rm /mnt/sdc/images/108/vm-108-disk-0.qcow2

If you're not able to delete the qcow2 file, your underlying disk is mounted read only. perform fsck -fy /mnt/sdc and reboot.
 
I'm sorry to bother you again. After I restart the PVE server, I can't access the web management terminal from the browser. This problem was very common during the initial installation. I checked that the IP address is correctly configured and that the gateway can be pinged from the PVE server.I guess the reason is that port 8006,and port 22 is not enabled.
If you just want to delete the vm, do the following in a shell window:

rm /etc/pve/qemu-server/108.conf
rm /mnt/sdc/images/108/vm-108-disk-0.qcow2

If you're not able to delete the qcow2 file, your underlying disk is mounted read only. perform fsck -fy /mnt/sdc and reboot.
 
Last edited:
Well,I think I found some reasons. When I deleted the virtual machine before, I did not delete the VM disk. Now when I try to delete the VM disk, the error message is that unlink '/mnt/sdc/images/108/vm-108-disk-0.qcow2' failed - Read only file system
Looks like your physical disk is full or damaged and became read-only. What is the output of df -h? Are you sure /mnt/sdc is mounted on another drive and not filling up the root filesystem?
 
Thanks for your help. I found that the hard disk data was damaged. After formatting, it was reinstalled and then recovered. Fortunately, the previous virtual machines were backed up
 

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!