zpool upgrade error

netogandolfi

Cadet
Joined
Nov 3, 2022
Messages
2
Good evening, I would like to know if there is a way I can locate the pool key.

I had to update my freenas to truenas core and after updating it no longer recognizes the existing pool.

Can I recover my pool???
 

MrHans

Dabbler
Joined
May 12, 2019
Messages
12
Hello,

was it a geli-encrypted pool?
What do you mean "no longer recognizes"? As in, it cannot be unlocked or simply doesn't see the drives as members of a pool?
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Please read the forum rules (located above in red letters) and post the TrueNAS version you are now running, and please describe in detail what is going on. Please do not assume that we understand your specific issue, that is making assumptions and is dangerous and then we have to ask all sorts of questions and it takes longer to solve the problem.

Do you have a copy of your old FreeNAS configuration file? I ask because maybe you could create a FreeNAS boot drive and restore the config file and have access to your NAS again, then figure out a proper path forward to upgrade to TrueNAS. But if you upgraded your pool to a new version, you will likely not be able to use the older FreeNAS version, but it's worth a try either way.
 

netogandolfi

Cadet
Joined
Nov 3, 2022
Messages
2
Sorry I don't have much knowledge in FREENAS,

I'm trying to import the POOL from a client and I get the following error:

Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.7/concurrent/futures/process.py", line 239, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 95, in main_worker
res = loop.run_until_complete(chorus)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
return future.result()
File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 51, in _run
return await self._call(name, serviceobj, methodobj, params=args, job=job)
File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 43, in _call
return methodobj(*params)
File "/usr/local/lib/python3.7/site-packages/middlewared/worker.py", line 43, in _call
return methodobj(*params)
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zfs.py", line 382, in import_pool
zfs.import_pool(found, found.name, options, any_host=any_host)
File "libzfs.pyx", line 369, in libzfs.ZFS.__exit__
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zfs.py", line 382, in import_pool
zfs.import_pool(found, found.name, options, any_host=any_host)
File "libzfs.pyx", line 870, in libzfs.ZFS.import_pool
libzfs.ZFSException: I/O error
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
await self.future
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 386, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 1927, in import_pool
'cachefile': ZPOOL_CACHE_FILE,
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1127, in call
app=app, pipes=pipes, job_on_progress_cb=job_on_progress_cb, io_thread=True,
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1074, in _call
return await self._call_worker(name, *args)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1094, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1029, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1003, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
libzfs.ZFSException: ('I/O error',)



I hope I've managed to express myself this time.

Thanks for the answers.
 
Top