Cannot start VM after loading backup config file

Fred974

Contributor
Joined
Jul 2, 2016
Messages
190
Hi,

For some reason we lost all access to the TrueNAS server and the only way to get access to it again was to do reset it to default.
Once we got access to it again, we loaded the backup of the config file and we got everything back to normal. However, when we try to start or Windows 2019 VM server we get the following error message:
Code:
[EFAULT] VM will not start as DISK Device: /dev/zvol/dbollenbergz2/dbollenberg/WinServer2019Std device(s) are not available.

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
    result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
  File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1206, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
  File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1110, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1595, in start
    self.vms[vm['name']].start(vm_data=vm)
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 173, in start
    raise CallError(
middlewared.service_exception.CallError: [EFAULT] VM will not start as DISK Device: /dev/zvol/dbollenbergz2/dbollenberg/WinServer2019Std device(s) are not available.

Does anyone know how I can get the VM back online? Is there a way to created a new Vm reusing the data from original VM

Thank you all in advance
 

Fred974

Contributor
Joined
Jul 2, 2016
Messages
190
The Disk exist in the device list

1616690083599.png
 
Top