OSError: [Errno 6] Device not configured: Jails

hatem5000

Dabbler
Joined
May 16, 2019
Messages
26
Hello Guys

I have weird problem that i shutdown my truenas couple of days ago and since then I'm facing strange issues randomly :
1. VMs are hanged and not able to shutdown after minutes of boot.
2. Mulyy jails errors and hanging after minutes of boot too.

This is one of the error I'm facing when press jails tab :

Error: Traceback (most recent call last):

File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_json.py", line 1266, in check_default_config

default_props = json.load(default_json)

File "/usr/local/lib/python3.9/json/__init__.py", line 293, in load

return loads(fp.read(),

OSError: [Errno 6] Device not configured



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 138, in call_method

result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,

File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1216, in _call

return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)

File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1120, in run_in_executor

return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))

File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run

result = self.fn(*self.args, **self.kwargs)

File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 977, in nf

return f(*args, **kwargs)

File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/jail_freebsd.py", line 1054, in get_activated_pool

pool = ioc.IOCage(skip_jails=True, reset_cache=True).get('', pool=True)

File "/usr/local/lib/python3.9/site-packages/iocage_lib/iocage.py", line 95, in __init__

self.generic_iocjson = ioc_json.IOCJson()

File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_json.py", line 1372, in __init__

super().__init__(location, checking_datasets, silent, callback)

File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_json.py", line 432, in __init__

self.default_config = self.check_default_config()

File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_json.py", line 1301, in check_default_config

self.backup_iocage_jail_conf(default_json_location)

File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_json.py", line 919, in backup_iocage_jail_conf

shutil.copy(

File "/usr/local/lib/python3.9/shutil.py", line 418, in copy

copyfile(src, dst, follow_symlinks=follow_symlinks)

File "/usr/local/lib/python3.9/shutil.py", line 264, in copyfile

with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:

OSError: [Errno 6] Device not configured: '/mnt/JailsCloudSSD/iocage/defaults_backup.json'

Note...the system is working fine after reboot but in few minutes later everything start hanging and failing..!!!


Hope i can find a fix for that...

Thanks
 
Top