SOLVED Need help - error cannot export and import pool

bayuthea

Cadet
Joined
Jun 6, 2023
Messages
6
I am just using truenas last two months and testing it, using one pool and three data vdev with one cache.
After reboot yesterday my pool went offline.
I cannot extract/detach nor import the pool.

Hardware used :
Motherboard Intel H81
CPU Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
RAM 16GB
Using combination of Hard drives and SSD with RAID Z2 configuration
Hard disk controllers Marvell 9705 SATA 3 8 Ports and Jmicron SATA 3 10 Ports
Network : Ethernet 1000baseT

Error when try to detach via UI :

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
await self.future
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 981, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1608, in export
disks = [i async for i in await self.middleware.call('pool.get_disks', oid)]
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1608, in <listcomp>
disks = [i async for i in await self.middleware.call('pool.get_disks', oid)]
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1059, in get_disks
disk_path = os.path.join('/dev', d['devname'])
KeyError: 'devname'


This is the result when put command
Code:
zpool import
   pool: BARaidZ2
     id: 7105378265617351031
  state: ONLINE
status: One or more devices were being resilvered.
 action: The pool can be imported using its name or numeric identifier.
 config:

        BARaidZ2                                          ONLINE
          raidz2-0                                        ONLINE
            gptid/d03d18f8-c7bd-11ed-96e1-408d5c91e71f    ONLINE
            gptid/5da3ea74-b751-11ed-8ad2-408d5c91e71f    ONLINE
            gptid/b1db3aa5-c7bd-11ed-96e1-408d5c91e71f    ONLINE
            gptid/65f12b55-bae8-11ed-83b2-408d5c91e71f    ONLINE
            gptid/346c5f74-aece-11ed-9b82-00e04d4e3f55    ONLINE
          raidz2-1                                        ONLINE
            gptid/c4137d1f-aeda-11ed-a3eb-00e04d4e3f55    ONLINE
            gptid/0a3491e8-b6f8-11ed-88bf-408d5c91e71f    ONLINE
            gptid/63b85231-b729-11ed-b09b-408d5c91e71f    ONLINE
            replacing-3                                   ONLINE
              gptid/994bdee4-e84a-11ed-8275-408d5c91e71f  ONLINE
              gptid/c8049aa4-ed62-11ed-8062-408d5c91e71f  ONLINE
              gptid/cc20ddeb-03f6-11ee-a9e2-408d5c91e71f  ONLINE
            gptid/c430c3c6-aeda-11ed-a3eb-00e04d4e3f55    ONLINE
          raidz2-4                                        ONLINE
            gptid/2e6fcad5-d629-11ed-944c-408d5c91e71
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
will the pool import with zpool import BARaidZ2 ?
 

bayuthea

Cadet
Joined
Jun 6, 2023
Messages
6
No, it says cannot import I/O Error. Destroy and re-create the pool from a backup source
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
What you posted above isn't the complete output of zpool import... can you post the full output?
 

bayuthea

Cadet
Joined
Jun 6, 2023
Messages
6
What you posted above isn't the complete output of zpool import... can you post the full output?
I cannot copy all result, attached is the screenshot
 

Attachments

  • Screenshot 2023-06-06 152308.jpg
    Screenshot 2023-06-06 152308.jpg
    80 KB · Views: 79
Joined
Jun 2, 2019
Messages
591
Marvell 9705 SATA 3 8 Ports and Jmicron SATA 3

@sretalla

Are port multipliers a cause for concern?

 

bayuthea

Cadet
Joined
Jun 6, 2023
Messages
6

@sretalla

Are port multipliers a cause for concern?

Reading this, so the problem could be the SATA expansion card ? If I change or replace the SATA, can I still use the previous pool that already using configuration with the old card ?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Reading this, so the problem could be the SATA expansion card ? If I change or replace the SATA, can I still use the previous pool that already using configuration with the old card ?
Yes, you can use a different SATA controller or ideally an LSI HBA if your machine has the room for one and existing pools will be found by the system with no issue.

I'm not sure if all of your problems will just go away as a result, but it won't be any worse than it is now.
 

bayuthea

Cadet
Joined
Jun 6, 2023
Messages
6
Yesterday my SAS LSI Card arrive and directly installed replacing the marvell card, and Voila!!
Truenas detecting the drives and my pool restored back online. Thanks you very much for all of your help. This case is solved
 
Top