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.

Drive missing from ZFS mirror after reboot

Featured Replies

I recently had a power outage. My Unraid server is connected to a UPS and properly shut down during the outage.

When I started it up again, I got this error when trying to start:

Wrong pool state

data - invalid config

data is a ZFS mirror with 2 x 20TB Seagate Exos X20 drives.

It turns out that for some reason, one of the drives was no longer in the pool! I had to re-add the missing drive to the pool, remove Unraid's config for the pool, then re-add it in the UI. Now it's working fine and the drive that was missing is resilvering. I left it overnight and now it's around 50% done.

Unraid should have a better error message than just "invalid config". Why is the config invalid? In my case, I think it's because the state of the pool in Unraid's config (two drives) didn't match reality (just one drive).

What could have caused this? I searched the forum and saw there's several monitoring scripts for ZFS (which is something Unraid should really have built-in!) but they only look for degraded or faulted pools, which wouldn't have caught this. The pool was in an online state, just with one drive completely missing.

  • Community Expert

Possibly an issue with the flash drive, the pool cfg was incorrectly saved or updated.

If it happens again, one of the devices being unassigned, you can just reimport the pool to avoid the resolver.

on main click on the first device for that pool and then "remove pool"

back on main, create a new pool with the same name and number of slots

assign the pool device(s), leave the filesystem set to auto

start the array to import the pool

  • Author
2 hours ago, JorgeB said:

If it happens again, one of the devices being unassigned, you can just reimport the pool to avoid the resolver.

The drive was missing from the ZFS pool itself. zpool status only showed one drive. It immediately started resilvering after I added the drive back using zpool add.

2 hours ago, JorgeB said:

Possibly an issue with the flash drive, the pool cfg was incorrectly saved or updated.

I verified against a backup, and the config hadn't changed.

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.