I have a zfs raidz1 pool with 3x6TB drives. I shut the server down. I removed one drive that had bad sectors. Right before I clicked Start Array, I got to the three boxes in the UI that showed two drives and an empty space, and I added the new drive there. I clicked Start Array. After the array started, I saw a message that the array was in a degraded state and it started rebuilding. After the rebuilding was completed, instead of working normally, it showed the message: 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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J. I tried to run the following commands: root@Olympus:~# zpool status -v nerv pool: nerv state: DEGRADED 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: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J scan: resilvered 1.21T in 02:05:50 with 0 errors on Wed Jul 8 15:57:37 2026 config: NAME STATE READ WRITE CKSUM nerv DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 22961051357565640 FAULTED 0 0 0 was /dev/sdd1 sdd1 ONLINE 0 0 0 sdf ONLINE 0 0 0 errors: No known data errors root@Olympus:~# zpool detach nerv 22961051357565640 cannot detach 22961051357565640: only applicable to mirror and replacing vdevs For more information, look at the images and the diagnostics. What caused this problem? And how can I fix it without losing my data? Everything else seems to be working normally. The same thing happened the last time I tried to replace a drive. Back then, I thought it could be a weird software glitch, so I restarted the server. When I tried to start the pools, I got an error that said "nerv is in an invalid pool configuration". I tried to delete that pool and make it again, but every time I added the three drives, the same error appeared. That time I had a spare drive to dump all my data and format, but now I don't have this luxury.
olympus-diagnostics-20260708-1646.zip