Drive faulted, tried to replace, now I cant import my pool because to many unavailable/offline

julesb

Cadet
Joined
Jan 2, 2019
Messages
2
Hi,

*Some background: I have an HBA passed through to a truenas vm on proxmox. The old drive is on the hba. The new drive is on a sataport which is also passed through.

Truenas alerted me to a drive being faulted.
Following the instructions I offlined that disk. Removed it. And installed a new one.
That didnt allow me to replace it so I then added the faulted drive back but also left the new drive in as to have a spare to replace with.


That brought problems with the pool. I then tried to export it to then import it again with no luck.

When I try to import I get the following output:
root@truenas[~]# zpool import
pool: opslag
id: 7458494050591782906
state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:

opslag UNAVAIL insufficient replicas
raidz2-0 UNAVAIL insufficient replicas
ff2ecc98-2575-4136-8a89-7042efff1b47 UNAVAIL
6377cad1-0cca-4a17-99e9-bb46db91e9ee UNAVAIL
011fbf01-9968-4dc2-8c55-9072b34b509f UNAVAIL
03221d6d-6c01-41a1-8a8e-cc0eca506d37 UNAVAIL
eb16146a-6311-4054-89d3-39bfc1262476 ONLINE
1744623d-3832-4b2a-ab66-4ec1ac01f566 UNAVAIL

pool: storage1
id: 14426814026354324389
state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E
config:

storage1 UNAVAIL insufficient replicas
raidz2-0 UNAVAIL insufficient replicas
e92ca3ea-3d86-40bb-a0d1-9e9800108a75 ONLINE
2cc5ea41-fd74-4f9a-aee3-92cbd4ed5414 UNAVAIL
2b61d81d-93d0-470c-8b2d-6b40aee2d6f3 ONLINE
6fb65dfb-0f55-46ad-9c08-5577638494b5 OFFLINE
a848cf59-601a-47c0-8538-f1764b964543 ONLINE
d76909c2-db15-4bc4-970b-84d55d88d2ea ONLINE
1a18f436-b06f-46bd-99e3-33fb2b22f278 UNAVAIL
1d490003-73e3-4be1-aa1b-68f6fb2c64d2 ONLINE

Now Im wondering if and how I can fix this. Im having no luck in bringing the OFFLINE device back online.

Hope you guys can help me out!

Kind regards,
Jules
 

julesb

Cadet
Joined
Jan 2, 2019
Messages
2
Apparrently a good old 5x reboot solves the issue. Allowed me to import the pool and its now resilvering.

This topic can be closed.
 
Top