Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Array Won't Start [Wrong Pool State zfs_pool - invalid config]

Featured Replies

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

Solved by JorgeB

  • 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.

  • 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?

  • Author

I also added the script you mentioned in this post, for monitoring zpools going forward

 

  • 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.

  • Author

Thanks for the help

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.