Here’s the update: Over the past few weeks, all I have done is trying the command lines that were suggested in this post. Today, I decided to try one last time with a newly installed TrueNAS VM. I disconnected the faulty drive while the machine is powered down, then reconnected it when the server is up. Suddenly, I can import my pool using the zpool import
command. I checked and saw that the datasets are correctly displayed in TrueNAS web GUI. However, it seems that the data are gone.
Here’s me trying to create a SMB share for this dataset:
Notice how I’ve opened the directories for /mnt and nothing appeared? Well, I also tried to paste the path directly into the SMB share.
Here’s the error log for the prompt, if you need:
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/service/crud_service.py", line 172, in create
return await self.middleware._call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/service/crud_service.py", line 197, in nf
rv = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/smb.py", line 1025, in do_create
verrors.check()
File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check
raise self
middlewared.service_exception.ValidationErrors: [EINVAL] sharingsmb_create.path_local: Path does not exist.
I tried to use cd
to access the dataset through TrueNAS shell in the web GUI.
admin@truenas[/home]$ cd /mnt
admin@truenas[/mnt]$ ls
prox-pool
admin@truenas[/mnt]$ cd prox-pool
admin@truenas[/mnt/prox-pool]$ cd trollclgt
cd: no such file or directory: trollclgt
Just finished scrubbing the pool and nothing seems to have been resolved.