I've got several Z3 RAIDs; and recently had to do a routine swap on one of the clusters. That all went without error - but a few seconds into resilvering I got an unexpected 'insufficient replica' error; desite this being a Z3 raid with all other disk in good order.
The process followed was:
Then add the new disk in:
All without error; but then zfs status shows:
What is going on here - I've not seen this 'insuffiicent replica's error before; and there should be enough ;as it is a Z3 raid. Any suggestions ?
Raid functions as expected and able to "zfs send" backups, etc. This is on stock FreeBSD14.3-RELEASE with recent updates.
Gpart seems happy too
The process followed was:
Code:
# Swap in identical disk; boot; check initial situation
# zpool status
pool: zroot
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: scrub repaired 64K in 11:43:38 with 0 errors on Tue Oct 21 00:29:02 2025
config:
NAME STATE READ WRITE CKSUM
zroot DEGRADED 0 0 0
raidz3-0 DEGRADED 0 0 0
ada0p3 OFFLINE 0 0 0
ada1p3 ONLINE 0 0 0
ada2p3 ONLINE 0 0 0
ada3p3 ONLINE 0 0 0
ada4p3 ONLINE 0 0 0
ada5p3 ONLINE 0 0 0
ada6p3 ONLINE 0 0 0
Then add the new disk in:
Code:
gpart create -s GPT ada0
# Take the partition setup from another disk in the cluster
gpart backup ada1 > b
# And restore it
gpart restore -F ada0 < b
# Add it to the pool
zpool replace zroot ada0p3 ada0p3
All without error; but then zfs status shows:
Code:
zpool status
pool: zroot
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 Oct 21 09:42:50 2025
2.83T / 11.7T scanned at 4.62G/s, 290G / 11.7T issued at 474M/s
0B resilvered, 2.43% done, no estimated completion time
config:
NAME STATE READ WRITE CKSUM
zroot DEGRADED 0 0 0
raidz3-0 DEGRADED 0 0 0
replacing-0 UNAVAIL 0 309 0 insufficient replicas
ada0p3/old OFFLINE 0 0 0
ada0p3 REMOVED 0 0 0
ada1p3 ONLINE 0 0 0
ada2p3 ONLINE 0 0 0
ada3p3 ONLINE 0 0 0
ada4p3 ONLINE 0 0 0
ada5p3 ONLINE 0 0 0
ada6p3 ONLINE 0 0 0
What is going on here - I've not seen this 'insuffiicent replica's error before; and there should be enough ;as it is a Z3 raid. Any suggestions ?
Raid functions as expected and able to "zfs send" backups, etc. This is on stock FreeBSD14.3-RELEASE with recent updates.
Gpart seems happy too
Code:
# gpart show
=> 40 7814037088 ada1 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1672 - free - (836K)
=> 40 7814037088 ada2 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1672 - free - (836K)
=> 40 7814037088 ada3 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1672 - free - (836K)
=> 40 7814037088 ada4 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1672 - free - (836K)
=> 40 7814037088 ada5 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1672 - free - (836K)
=> 40 7814037088 ada6 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1672 - free - (836K)
=> 34 7814037101 ada0 GPT (3.6T)
34 6 - free - (3.0K)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 16777216 2 freebsd-swap (8.0G)
16779264 7797256192 3 freebsd-zfs (3.6T)
7814035456 1679 - free - (840K)