February 19, 20242 yr Hello. Just finished rebuilding 2 drives. Array started up after, all seemed good. Then the zpool was writing a lot with docker disabled. Looked at stats for zpool scrub section and said it was degraded and being resilvered. That completed, pool was back to good. Rebooted then couldn't start the array even though the GUI said it had a valid configuration. Syslog shows 'zfs_pool: invalid config: root_slots 6 num_slots 3' and there are only 3 drives for that pool. Sounds like this might be same/similar: Imported: zpool import zfs_pool, then root@7OM-UNRAID:~# zpool status -v pool: zfs_pool state: ONLINE scan: resilvered 153G in 00:21:49 with 0 errors on Sun Feb 18 23:50:54 2024 config: NAME STATE READ WRITE CKSUM zfs_pool ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdn1 ONLINE 0 0 0 sdq1 ONLINE 0 0 0 nvme0n1p1 ONLINE 0 0 0 errors: No known data errors Wanted to check if I should do the same from the post to actually fix the problem. 7om-unraid-diagnostics-20240219-0223.zip
February 19, 20242 yr Community Expert Solution Reimporting the pool should fix it, stop the array, unassign all pool devices, start array, stop array, re-assign all pool devices, start array.
February 19, 20242 yr Author That worked. Thanks. Just to clarify for others that might be gunshy and not as familiar with UNRAID yet, such as myself, I did what you said with: Stop the array Make note of all disk assignments order (as was mentioned in another thread) Unassign all pool devices Start array (check mark for 'Yes, I want to do this' for 'Start will remove the missing cache disk and then bring the array on-line') Stop array Re-assign all pool devices Start array Would it be likely that the resilvering caused the disk count to go up?
February 19, 20242 yr Author I also added the script you mentioned in this post, for monitoring zpools going forward
February 20, 20242 yr Community Expert 12 hours ago, Thomas Gunn said: Would it be likely that the resilvering caused the disk count to go up? It's possible I guess. One thing I forgot to mention, make sure the pool is assigned with the devices in the same order as the zpool status output, so: sdn sdq nvme0n1 You can repeat the procedure if needed.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.