When trying to create a new Linux VM on my freenas 11.2 server and when i redirect the Disk to install to a custom location i receive the below warning,
the custom location is in the following directory structure mnt/iocage(dataset)/VM_Datafiles(dataset) i then set this VM to create a new zvol nested in here and get the below error.
Error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 161, in call_method result = await self.middleware.call_method(self, message) File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, 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 1049, in _call return await methodobj(*args) File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 278, in create f'{self._config.namespace}.create', self, self.do_create, [data] File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1049, 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 956, in do_create raise verrors middlewared.service_exception.ValidationErrors: [ENOENT] vm_create.devices.1.attributes.zvol_name: Parent dataset iocage/VM_Datafiles does not exist.
I have checked and when i create the disk to the default location or when i manually create the zvol and point the VM to this i have no issues.
I am 99.999% sure this is a me / not best practice issue but any insight would be greatly appreciated.
the custom location is in the following directory structure mnt/iocage(dataset)/VM_Datafiles(dataset) i then set this VM to create a new zvol nested in here and get the below error.
Error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 161, in call_method result = await self.middleware.call_method(self, message) File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, 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 1049, in _call return await methodobj(*args) File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 278, in create f'{self._config.namespace}.create', self, self.do_create, [data] File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1049, 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 956, in do_create raise verrors middlewared.service_exception.ValidationErrors: [ENOENT] vm_create.devices.1.attributes.zvol_name: Parent dataset iocage/VM_Datafiles does not exist.
I have checked and when i create the disk to the default location or when i manually create the zvol and point the VM to this i have no issues.
I am 99.999% sure this is a me / not best practice issue but any insight would be greatly appreciated.