Jump to content

FreeNAS & VMs | what am i doing wrong?!

Go to solution Solved by Electronics Wizardy,
59 minutes ago, knightslugger said:

donno. perhaps not. it's a cheap shit box i put together with old parts. made it as a NAS for whole home storage, but know it could do VMs and i wanted to play with it some. 7th gen Celeron on a asus z170 board, 8gb ram, some NAS drives from WD, boot is three USB drives...

check the bios for virtulization.

 

Also try a different os to see if it works on there with a vm

So i've been trying to set up a Ubuntu Server VM in FreeNAS 11.2u5 all freaking day, and no matter what i try i always get a message of "device not configured" when i try to start it. I have the .iso loaded into the virtual cd-rom drive, i've got a zVOL for HDD space, NIC has been set up 7 different ways (between VLANs and NICs both on-board and add-on) and nothing changes. I always get the message.

 

I've watched many a youtube videos of folks setting up Linux VMs in FreeNAS. What in the world am I doing wrong?

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to comment
https://linustechtips.com/topic/1100394-freenas-vms-what-am-i-doing-wrong/
Share on other sites

Link to post
Share on other sites

In earlier versions of FreeNAS I also tried my best to get Linux running in a VM. I see things haven't changed much in 11.2. I could only ever get Windows to run (craptacularly at that). Bhyve really isn't a great VM solution (What FreeNAS uses). What are you looking to do with the VM?

Link to post
Share on other sites

3 minutes ago, Windows7ge said:

In earlier versions of FreeNAS I also tried my best to get Linux running in a VM. I see things haven't changed much in 11.2. I could only ever get Windows to run (craptacularly at that). Bhyve really isn't a great VM solution (What FreeNAS uses). What are you looking to do with the VM?

more or less getting my feet wet with VMs so i can learn what i can do with it.

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to post
Share on other sites

5 minutes ago, knightslugger said:

more or less getting my feet wet with VMs so i can learn what i can do with it.

I wouldn't use freenas, there are much better hypervisors like proxmox that also use zfs.

 

ANy more details? Log files?

Link to post
Share on other sites

4 minutes ago, Electronics Wizardy said:

I wouldn't use freenas, there are much better hypervisors like proxmox that also use zfs.

 

ANy more details? Log files?

Here's the error log

 

Quote

Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 167, in call_method
    result = await self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1098, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1046, in _call
    return await methodobj(*args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/vm.py", line 1139, in start
    await self._manager.start(vm)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/vm.py", line 62, in start
    list(done)[0].result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/vm.py", line 317, in run
    raise CallError(f'VM {self.vm["name"]} failed to start: {output}')
middlewared.service_exception.CallError: [EFAULT] VM Ubuntu failed to start: vm_create: Device not configured
 

 

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to post
Share on other sites

4 minutes ago, Electronics Wizardy said:

got a screenshot of the gui configg?

 

Id really just replace freenas if you want vms though.

I don't know what you're hoping to see, but this is my device config screen... the three dots on the right give options such as edit, delete, change order, and details.

 

image.thumb.png.6d675358c8becb73ff15abd90410c420.png

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to post
Share on other sites

Just now, knightslugger said:

I don't know what you're hoping to see, but this is my device config screen... the three dots on the right give options such as edit, delete, change order, and details.

 

image.thumb.png.6d675358c8becb73ff15abd90410c420.png

will it boot without any of those devices?

 

but still, don't use freenas here

Link to post
Share on other sites

4 minutes ago, Electronics Wizardy said:

will it boot without any of those devices?

 

but still, don't use freenas here

nope. I'll take the suggestion for consideration, but it's frustrating to see others have no problem whatsoever setting up, installing, and running VMs just like i'm trying to do without issue. I mean i'm following their every move to the letter, and not having ANY success.

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to post
Share on other sites

20 minutes ago, knightslugger said:

nope. I'll take the suggestion for consideration, but it's frustrating to see others have no problem whatsoever setting up, installing, and running VMs just like i'm trying to do without issue. I mean i'm following their every move to the letter, and not having ANY success.

what hardware is this running? is vt-x on?

Link to post
Share on other sites

48 minutes ago, knightslugger said:

more or less getting my feet wet with VMs so i can learn what i can do with it.

Bhyve is not a great place to start (I've played with it). I have to back Electronics Wizardry here there are much better more functional hypervisors.

 

If you have a unused system take a look at PROXMOX. It will offer vastly more functionality, I have it running various distros of Linux and multiple versions of Windows (as stated previously it supports ZFS).

 

If you don't have any spare systems but you have a desktop running Debian Linux you can checkout QEMU & virt-manager (they work together).

 

Both are very high performance solutions with much less overhead than Bhyve. They have GUI's/WebUI's so they're easy to use.

Link to post
Share on other sites

1 hour ago, Electronics Wizardy said:

what hardware is this running? is vt-x on?

donno. perhaps not. it's a cheap shit box i put together with old parts. made it as a NAS for whole home storage, but know it could do VMs and i wanted to play with it some. 7th gen Celeron on a asus z170 board, 8gb ram, some NAS drives from WD, boot is three USB drives...

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to post
Share on other sites

59 minutes ago, knightslugger said:

donno. perhaps not. it's a cheap shit box i put together with old parts. made it as a NAS for whole home storage, but know it could do VMs and i wanted to play with it some. 7th gen Celeron on a asus z170 board, 8gb ram, some NAS drives from WD, boot is three USB drives...

check the bios for virtulization.

 

Also try a different os to see if it works on there with a vm

Link to post
Share on other sites

11 hours ago, Electronics Wizardy said:

check the bios for virtulization.

 

Also try a different os to see if it works on there with a vm

VMM was not enabled. doing so was the solution. starts without a hitch.

[FS][US] Corsair H115i 280mm AIO-AMD $60+shipping

 

 

System specs:
Asus Prime X370 Pro - Custom EKWB CPU/GPU 2x360 1x240 soft loop - Ryzen 1700X - Corsair Vengeance RGB 2x16GB - Plextor 512 NVMe + 2TB SU800 - EVGA GTX1080ti - LianLi PC11 Dynamic
 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×