[EFAULT] VM will not start as DISK Device: /dev/zvol/Pool 1/xxxx device(s) are not available.

rjone1

Cadet
Joined
Nov 4, 2021
Messages
3
Hi community,

I upgraded from TrueNAS Core to Scale and I need some guidance. I've created VMs in core perfectly fine but Scale seems to be a different animal all together. As the subject of the thread insinuates I can't start my VM because it seems to not be able to locate or have permissions to access the location it created where the files are stored. I deleted and recreated the VM thinking maybe I missed a step but still running into this issue. Currently I'm trying to use a CentOS iso for the image. I read in another forum there may be a permission issue but this was during the beta Forums TrueNAS TrueNAS SCALE TrueNAS SCALE 21.06-BETA Now Available! and it wasn't clear on a solution. Here is the error log from the failed start after install.




report_problem CallError​

[EFAULT] VM will not start as DISK Device: /dev/zvol/Pool 1/VM/CentOS-ysh3w device(s) are not available.
remove_circle_outlineMore info...
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 175, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1275, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1261, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1129, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py", line 39, in start
await self.middleware.run_in_thread(self._start, vm['name'])
File "/usr/lib/python3/dist-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py", line 62, in _start self.vms[vm_name].start(vm_data=self._vm_from_name(vm_name))
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor_base.py", line 138, in start
raise CallError(
middlewared.service_exception.CallError: [EFAULT] VM will not start as DISK Device: /dev/zvol/Pool 1/VM/CentOS-ysh3w device(s) are not available.
 

Attachments

  • Screen Shot 2022-03-05 at 9.00.53 PM.png
    Screen Shot 2022-03-05 at 9.00.53 PM.png
    172.9 KB · Views: 269

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Got a horrible feeling this is because you have a space in your pool name - "Pool 1". So the middleware throws that final error re: disk device not available. Search the forum for other reports of the same issue.
 

TheNiTz

Cadet
Joined
Dec 22, 2021
Messages
6
interesting I'm having the same problem existing VM and new VMs all give me the same issue but it's only with 1 of my Pools if I save the VM Location as my 1st pool (slow HDD pool) it works perfectly

remove_circle_outlineMore info...
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 175, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self, File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1275, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1261, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1129, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py", line 39, in start await self.middleware.run_in_thread(self._start, vm['name']) File "/usr/lib/python3/dist-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py", line 62, in _start self.vms[vm_name].start(vm_data=self._vm_from_name(vm_name)) File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor_base.py", line 138, in start raise CallError( middlewared.service_exception.CallError: [EFAULT] VM will not start as DISK Device: /dev/zvol/SDDs/QB VM/QbServer-qe2j9m device(s) are not available.

identical
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I see a space in your path also...
/dev/zvol/SDDs/QB VM
What part of @KrisBee's suggestion wasn't clear?

Can you try it in a path that doesn't contain a space?
 

TheNiTz

Cadet
Joined
Dec 22, 2021
Messages
6
I see a space in your path also...

What part of @KrisBee's suggestion wasn't clear?

Can you try it in a path that doesn't contain a space?
Yes it worked - just found it interesting that it worked for a few days and then decided it didn't like it.
 
Top