Unhealthy Pool - Cache

In the last few months I upgraded to Truenas Scale. Sometime later I am getting:

root@truenas[~]# zpool status -x
pool: tank
state: ONLINE
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using ‘zpool replace’.
see: Message ID: ZFS-8000-4J — OpenZFS documentation
scan: scrub repaired 0B in 07:26:59 with 0 errors on Sun Mar 31 07:27:05 2024
config:

    NAME                                          STATE     READ WRITE CKSUM
    tank                                          ONLINE       0     0     0
      raidz2-0                                    ONLINE       0     0     0
        sdc2                                      ONLINE       0     0     0
        sda2                                      ONLINE       0     0     0
        sdd2                                      ONLINE       0     0     0
        sde2                                      ONLINE       0     0     0
        sdb2                                      ONLINE       0     0     0
    logs
      sdg1                                        ONLINE       0     0     0
    cache
      gptid/4c35231c-4715-11ec-8dfd-3cecef5ff440  UNAVAIL      0     0     0

being a complete ZFS noob I cannot figure out how to proceed. I have

Platform: TRUENAS-MINI-3.0-X+ Version:

TrueNAS-SCALE-23.10.2

Error message is:

Pool tank state is ONLINE: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state.

The following devices are not healthy:

  • Disk Micron_5300_MTFDDAK480TDS 21142E379201 is UNAVAIL

2024-04-05 10:04:52 (America/Los_Angeles)

Any guidance would be appreciated.

Also wanted to point out that no errors on SMART tests for that SSD.

Please put the SCALE tag as well in order to get targeted help. :slightly_smiling_face:

Apparently your cache drive has an issue, you need to replace it from the WebUI. I would try setting it offline then back online first.

OK - will try to find out how to offline it and online it. It seemed to resist because it was cache, but will try that - thanks.

You can just throw it out of the pool and add it again, a L2ARC drive does not endanger the pool’s status. If it’s a metadata vdev your pool design needs an imrovement (metadata VDEVs require the same amount of parity of the data VDEV).

3 Likes

I remove and replaced it and it seems to be all green now. Not sure I understand what I did but all healthy.

Thanks sooo much for the guidance. That was tremendous.

Just do note that while this fixed the system’s complaint, it is not an indication that the issue is resolved: if it still gives you problems, you will need to troubleshoot. But if it’s a L2ARC drive you can be at ease since it does not endanger any data.

Additionally, you can select a user’s reply as the solution to your question: it should change the topic’s status to solved as well. End of educational segment :slightly_smiling_face:

4 Likes