Unable to create jail, install plugins

zidarko

Cadet
Joined
Oct 20, 2020
Messages
7
Hello,

I have recently installed TrueNAS 12 RC1 on my NAS that was running Debian until a few days ago. I was able to import my old ZFS pool and run a
Code:
zpool scrub
without any error reported.

The system seems to be stable and running as expected, however for some reason I am unable to create any jail or install any plugin. Upon selection of the imported pool I get the following error:

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/jail_freebsd.py", line 1431, in activate
    iocage.activate(pool['name'])
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/iocage.py", line 368, in activate
    ioc_common.logit(
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_common.py", line 107, in logit
    callback(content, exception)
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_common.py", line 80, in callback
    raise callback_exception(message)
RuntimeError: ZFS pool "gimli" root dataset is locked

During handling of the above exception, another exception occurred:

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 1202, 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 1106, 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/jail_freebsd.py", line 1433, in activate
    raise CallError(f'Failed to activate {pool["name"]}: {e}')
middlewared.service_exception.CallError: [EFAULT] Failed to activate gimli: ZFS pool "gimli" root dataset is locked


It's the first time I'm seeing this kind of error. The zpool "gimli" has only four datasets (two actual users, Plex user and Time Machine user).

If I run a
Code:
zpool status
I would be notified the zpool needs to be upgraded to the latest version but I am reluctant to do so because I'm still evaluating TrueNAS. Upgrading the zpool version would break the compatibility with Linux.

The configuration of my NAS:
* motherboard: Supermicro X10SDV-4C+-TLN4F-O
* CPU: Intel Xeon D-1518
* RAM: 8 GB
* storage:
- for operating system: 128 GB SSD
- storage: 4x 4 TB HGST hard drives in RAIDZ1

Thanks for any advice.

zidarko
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Is your pool encrypted?
 

zidarko

Cadet
Joined
Oct 20, 2020
Messages
7
The pool is not encrypted.

This is the output of zpool status

Screenshot 2020-10-21 at 9.51.32 AM.png



The zpool supported features that are currently not enabled are:
Screenshot 2020-10-21 at 9.53.18 AM.png


All the zpool features of the problematic zpool:
Screenshot 2020-10-21 at 9.57.13 AM.png


Screenshot 2020-10-21 at 9.57.26 AM.png


Screenshot 2020-10-21 at 9.57.41 AM.png




These are the filesystems/datasets on the zpool:
Screenshot 2020-10-21 at 9.55.41 AM.png
Screenshot 2020-10-21 at 9.51.32 AM.png Screenshot 2020-10-21 at 9.53.18 AM.png Screenshot 2020-10-21 at 9.54.54 AM.png Screenshot 2020-10-21 at 9.55.41 AM.png Screenshot 2020-10-21 at 9.57.13 AM.png Screenshot 2020-10-21 at 9.57.26 AM.png Screenshot 2020-10-21 at 9.57.41 AM.png Screenshot 2020-10-21 at 9.51.32 AM.png Screenshot 2020-10-21 at 9.53.18 AM.png Screenshot 2020-10-21 at 9.54.54 AM.png Screenshot 2020-10-21 at 9.55.41 AM.png Screenshot 2020-10-21 at 9.57.13 AM.png Screenshot 2020-10-21 at 9.57.26 AM.png Screenshot 2020-10-21 at 9.57.41 AM.png

Let me know if you need more information. I'll do my best to provide it.

Thanks!
 

zidarko

Cadet
Joined
Oct 20, 2020
Messages
7
It would appear the only way of solving my problem would be to destroy the zpool and recreate it in TrueNAS. Since I don't have enough storage around the house to create a proper I reinstalled Debian.

:frown:
 
Top