Pool is degraded, has been being resilvered continuous

lilwho

Cadet
Joined
Mar 8, 2021
Messages
5
I'm complete noob in freenas and I think that I didn't read the manual of how to replace drives.
So, my Main pool has been being resilvered at leased half a year.
I'm using FreeNAS 11.3, what's happening is:
Screenshot 2021-03-08 152102.jpg

The problem is that I cant replace this 2 drives.


What should I do to fix this continues replacing?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Replacing and resilvering aren't the same thing.

What does zpool status -v show you?
 

lilwho

Cadet
Joined
Mar 8, 2021
Messages
5
Warning: settings changed through the CLI are not written to
the configuration database and will be reset on reboot.

root@FreeNas Server[~]# zpool status -v
pool: Main
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 Mon Mar 8 07:29:47 2021
1.12T scanned at 34.4M/s, 947G issued at 28.4M/s, 3.51T total
772G resilvered, 26.34% done, 1 days 02:33:51 to go
config:

NAME STATE READ WRITE CKSUM
Main DEGRADED 0 0 12
mirror-0 DEGRADED 0 0 24
gptid/74307b83-7b1f-11ea-abb2-e8393525e0a9 ONLINE 0 0 6
replacing-1 DEGRADED 81 1.21K 744
8055412159345011690 UNAVAIL 0 0 0 was /dev/gptid/74489191-7b1f-11ea-abb2-e8393525e0a9
gptid/7efbe6d2-c9bd-11ea-a8f3-e8393525e0a9 ONLINE 0 0 6

errors: Permanent errors have been detected in the following files:

<metadata>:<0x62>

pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:16:57 with 0 errors on Fri Mar 5 04:01:59 2021
config:
 

lilwho

Cadet
Joined
Mar 8, 2021
Messages
5
root@FreeNas Server[~]# zpool status -v
pool: Main
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 Mon Mar 8 07:29:47 2021
1.12T scanned at 34.3M/s, 947G issued at 28.3M/s, 3.51T total
772G resilvered, 26.34% done, 1 days 02:39:14 to go
config:

NAME STATE READ WRITE CKSUM
Main DEGRADED 0 0 12
mirror-0 DEGRADED 0 0 24
gptid/74307b83-7b1f-11ea-abb2-e8393525e0a9 ONLINE 0 0 6
replacing-1 DEGRADED 81 1.21K 744
8055412159345011690 UNAVAIL 0 0 0 was /dev/gptid/74489191-7b1f-11ea-abb2-e8393525e0a9
gptid/7efbe6d2-c9bd-11ea-a8f3-e8393525e0a9 ONLINE 0 0 6

errors: Permanent errors have been detected in the following files:

<metadata>:<0x62>

pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:16:57 with 0 errors on Fri Mar 5 04:01:59 2021
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
ada2p2 ONLINE 0 0 0

errors: No known data errors
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
errors: Permanent errors have been detected in the following files:

<metadata>:<0x62>
So here's the problem, which means that the resilver can't finish and unfortunately the only solution is a pool rebuild since you can't manually restore metadata.

Copy the files off the pool to a backup media, destroy the pool, rebuild it and copy the files back.
 

lilwho

Cadet
Joined
Mar 8, 2021
Messages
5
Thanks for that, I've been thinking that I am dumb and cant find the solution, but there is no solution without destroying though)
 
Top