Unable to lauch VMs

Brian Read

Well-Known Member
Jan 4, 2017
123
7
58
75
I've just built a new proxmox node using the 5.0 build It is based on an array of 3 x 3tb RAIDZ-1 ZFS.

However when I try to start m yfirst VM, it fails this way:

kvm: -drive file=/dev/zvol/rpool/data/vm-100-disk-1,if=none,id=drive-virtio0,format=raw,cache=none,aio=native,detect-zeroes=on: Could not open '/dev/zvol/rpool/data/vm-100-disk-1': No such file or directory

The disk image is in the zfs pool "rpool" as far as I can see.

Only one thing occurs to me, I probably created the VM etc BEFORE updating the software to 5.1.
 
try
qm rescan
then go back into the vm and see if the hdd is associated.
if error persists remove the disk from the vm (but do not delete it ofc) and try to readd is.

if that doesnt work. move the file out of the directory
delete vm
make a new vm
create a directory with the same vm number and place the file under it
if that number has changed ofc rename the file for the proper vm number
run
qm rescan
associate the new found drive in the vm
run the vm
 
I've tried the qm rescan with no effect.

I am unable to operate at the directory level as /rpool/data and /rpool/ROOT/pve-1
"appear" to be empty at command level. Perhaps the mount points have not been setup correctly?

The web interface still shows the ISOs and the hard Drive VM file. I've deleted the latter and re-created it, but still no joy.

I'm thinking of re-installing from a 5.1 ISO and making sure I update before creating anything!
 
I've re-installed using the 5.1 ISO and did an immediate update. Everything seems to work fine now!
 

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!