railz1 resilvering time keeps growing

rcd

Active Member
Jul 12, 2019
245
23
38
62
Today I shut down my PVE, apparently without problems, but when I switched it on again half an hour later I got a lot of zfs errors, and zpool status now shows longer and longer time "to go":

Code:
# zpool status
  pool: poolz
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Tue Feb  1 16:57:07 2022
        1.26T scanned at 2.72G/s, 894G issued at 1.88G/s, 11.6T total
        8K resilvered, 7.51% done, 01:37:41 to go
config:

        NAME                        STATE     READ WRITE CKSUM
        poolz                       DEGRADED     0     0     0
          raidz1-0                  DEGRADED     0     0     0
            wwn-0x50014ee20fb7a683  DEGRADED     0     0 9.72K  too many errors
            wwn-0x5000c500c5097235  UNAVAIL    191   267     1  (awaiting resilver)
            wwn-0x5000c500c5060646  DEGRADED     0     0 9.74K  too many errors  (resilvering)
            wwn-0x5000c500c50451ee  DEGRADED     0     0 18.3K  too many errors  (resilvering)
            wwn-0x5000c500c504134c  DEGRADED     0     0 9.72K  too many errors

errors: 8150 data errors, use '-v' for a list

What happened here?

Will it ever recover? I have full backups, so I could rebuild the system if need be, but if it's just a matter of being patient I guess I'll just wait it out. At least if it isn't a matter of days before it completes?
 
I don't see the problem. With raidz1/2/3 and alot of HDDs its not unusual that a resilver might take days or even weeks to finish. In contrast to that your pool resilvers lightnig fast. :D
 
Last edited:
Hm, this is interesting. Seems the second drive in the raidz array had been knocked out by a USB attached backup drive that wanted to use the same drive id. I removed the USB drive and restarted the server and then the missing drive was there and the pool could get started.

After that the resilver completed within a few hours and I could clear the pool.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!