AceRoehrborn
Cadet
- Joined
- May 3, 2023
- Messages
- 2
While on vacation my Truenas went offline it had been working fine for years before this. Not sure if we lost power or what happened. I am a home hobbyist so nothing super critical here just trying to goof around and learn. I use the drive primarily to host my media for a plex server.
My System
I have Dell Server with a PERC H710 controller in it. I have two Raid 5 arrays in the server. 4 @500gb drives I am using for vmware and have TrueNas installed here as a virtual machine, the second is 4 2TB drives in Raid 5 at the PERC Controller level. This presents to TrueNas as a single drive.
All drives in the server are functioning and online. The 2b raid array is connected to TrueNas at the VM level.
Version:
TrueNAS-12.0-U5.1
Original Problem
I was unable to access the drive and was getting a device not available error. In trying to sort this out I disconnected the pool. I am now having trouble reconnecting it.
From Storage->Pools->Import pool I am able to select my pool "Data" however when importing the pool I receive an error "one or more devices is currently unavailable".
I have tried to import with zpool command with both the -m and -f modifiers and get the same error.
"zpool import" command shows my pool "Data" as online and the action is listed as this pool can be imported using its name or numeric identifier.
"zpool import Data" command shows the same one or more devices is currently unavailable.
I have also tried zpool import -m Data, and zpool import -f Data with similar results.
The questions:
More info button on the web UI import gives these detailed error results:
My System
I have Dell Server with a PERC H710 controller in it. I have two Raid 5 arrays in the server. 4 @500gb drives I am using for vmware and have TrueNas installed here as a virtual machine, the second is 4 2TB drives in Raid 5 at the PERC Controller level. This presents to TrueNas as a single drive.
All drives in the server are functioning and online. The 2b raid array is connected to TrueNas at the VM level.
Version:
TrueNAS-12.0-U5.1
Original Problem
I was unable to access the drive and was getting a device not available error. In trying to sort this out I disconnected the pool. I am now having trouble reconnecting it.
From Storage->Pools->Import pool I am able to select my pool "Data" however when importing the pool I receive an error "one or more devices is currently unavailable".
I have tried to import with zpool command with both the -m and -f modifiers and get the same error.
"zpool import" command shows my pool "Data" as online and the action is listed as this pool can be imported using its name or numeric identifier.
"zpool import Data" command shows the same one or more devices is currently unavailable.
I have also tried zpool import -m Data, and zpool import -f Data with similar results.
The questions:
- Is this recoverable, can i get my data back out of the pool?
- When TrueNas refers to Devices unavailable what "devices" is it referring to?
- Is there some step I need to do to make the "devices" available before I import the pool?
- Any quick easy fixes or steps I am missing to import my pool?
More info button on the web UI import gives these detailed error results:
Code:
Error: concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.9/concurrent/futures/process.py", line 243, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 94, in main_worker res = MIDDLEWARE._run(*call_args) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 45, in _run return self._call(name, serviceobj, methodobj, args, job=job) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 39, in _call return methodobj(*params) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 39, in _call return methodobj(*params) 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/zfs.py", line 371, in import_pool self.logger.error( File "libzfs.pyx", line 391, in libzfs.ZFS.__exit__ File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/zfs.py", line 365, in import_pool zfs.import_pool(found, new_name or found.name, options, any_host=any_host) File "libzfs.pyx", line 1095, in libzfs.ZFS.import_pool File "libzfs.pyx", line 1123, in libzfs.ZFS.__import_pool libzfs.ZFSException: one or more devices is currently unavailable """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 367, in run await self.future File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 403, in __run_body rv = await self.method(*([self] + args)) File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 973, in nf return await f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1421, in import_pool await self.middleware.call('zfs.pool.import_pool', pool['guid'], { File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1248, in call return await self._call( File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1213, in _call return await self._call_worker(name, *prepared_call.args) File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1219, in _call_worker return await self.run_in_proc(main_worker, name, args, job) File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1146, in run_in_proc return await self.run_in_executor(self.__procpool, method, *args, **kwargs) 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)) libzfs.ZFSException: ('one or more devices is currently unavailable',)