Discussion:
vmctl start missing disk
Ted Unangst
2017-05-30 10:09:56 UTC
Permalink
start a vm with a missing disk

vmctl start banana -d whatever -i 1
vmctl: start vm command failed: No such file or directory

that's not much of a hint what went wrong.
jan
2017-06-13 04:24:44 UTC
Permalink
That's true,

there should be a proper error message in the future.

I came across the same error when starting a new VM. My problem was, that I
already used all 4 default taps that where generated by the installer (tap0,
tap1, tap2, tap3).

So I created a new tap device file and everything worked again:

/cd /dev; sh MAKEDEV tap4/

Then you can create a new tap device for each new VM that you start.

For more details see here (I tried to create a virtual network where each VM
responds to specific subdomain requests):
http://blog.hermes-technology.de/openbsd/server/virtualmachine/network/2017/06/12/vmd-for-a-virtual-server-network.html#create-a-raw-disk-file-and-start-the-installation
<http://blog.hermes-technology.de/openbsd/server/virtualmachine/network/2017/06/12/vmd-for-a-virtual-server-network.html#create-a-raw-disk-file-and-start-the-installation>





--
View this message in context: http://openbsd-archive.7691.n7.nabble.com/vmctl-start-missing-disk-tp319604p320576.html
Sent from the openbsd dev - bugs mailing list archive at Nabble.com.
Mike Larkin
2017-06-14 22:18:23 UTC
Permalink
Post by jan
That's true,
there should be a proper error message in the future.
I came across the same error when starting a new VM. My problem was, that I
already used all 4 default taps that where generated by the installer (tap0,
tap1, tap2, tap3).
/cd /dev; sh MAKEDEV tap4/
Then you can create a new tap device for each new VM that you start.
For more details see here (I tried to create a virtual network where each VM
http://blog.hermes-technology.de/openbsd/server/virtualmachine/network/2017/06/12/vmd-for-a-virtual-server-network.html#create-a-raw-disk-file-and-start-the-installation
<http://blog.hermes-technology.de/openbsd/server/virtualmachine/network/2017/06/12/vmd-for-a-virtual-server-network.html#create-a-raw-disk-file-and-start-the-installation>
--
View this message in context: http://openbsd-archive.7691.n7.nabble.com/vmctl-start-missing-disk-tp319604p320576.html
Sent from the openbsd dev - bugs mailing list archive at Nabble.com.
Jan,

Great page you wrote there. It's nice to know people are starting to use this.

-ml

Loading...