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.

Wrong Pool State cache invalid expansion

Featured Replies

After upgrading to 7 beta 4 the array wont start and gives this error: "Wrong Pool State cache invalid expansion"

 

I have a 1 TB nvme and 1 TB SSD in Pool 1 and a single  250GB in Pool 2.

 

Ive only had unraid running a couple months, so Im not too familiar with the inner workings of it and linux.

poweredge-diagnostics-20241108-1311.zip

Solved by JorgeB

  • Community Expert
  • Solution

The cfg for that pool is incorrect, click the pool, then "remove pool", back on main, create the pool again, assign the devices, leave the fs set to auto, start the array, and it should re-import, if it doesn't post new diags.

  • 4 weeks later...

Thanks Jorge. Same happened when I upgraded to v7RC1. I was pretty concerned about data loss but your steps fixed it.

  • 3 weeks later...

Thank you JorgeB. I had the same issue after upgrading to v7. Glad I found your post with the fix.

I'm having a similar issue. I am getting an error saying "too many wrong or missing devices" when trying to start the array. It's referencing a 24-drive 3x8 raidz3 pool I have. All of the drives are assigned correctly. If I remove the pool and recreate it with the exact same assignments, it starts fine. I do have to specify the file system and raidz3 settings though. Is this a known issue?

  • Community Expert
15 hours ago, JohnnyGrey said:

I'm having a similar issue. I am getting an error saying "too many wrong or missing devices" when trying to start the array. It's referencing a 24-drive 3x8 raidz3 pool I have. All of the drives are assigned correctly. If I remove the pool and recreate it with the exact same assignments, it starts fine. I do have to specify the file system and raidz3 settings though. Is this a known issue?

 

Assuming you are using v7, it should import the pool on auto, please post the diagnostics and the output from

zpool import

 

On 11/8/2024 at 11:55 AM, JorgeB said:

The cfg for that pool is incorrect, click the pool, then "remove pool", back on main, create the pool again, assign the devices, leave the fs set to auto, start the array, and it should re-import, if it doesn't post new diags.

Thanks this worked for my issues of "Wrong pool state" -invalid expression. 
Upgrading from 6.12.10 > 7.0.0-rc.2

  • 2 weeks later...
On 11/8/2024 at 12:55 PM, JorgeB said:

The cfg for that pool is incorrect, click the pool, then "remove pool", back on main, create the pool again, assign the devices, leave the fs set to auto, start the array, and it should re-import, if it doesn't post new diags.

Thanks 

 

This worked for me without loosing any data

 

Thanks 

  • 2 weeks later...

Also had this problem. Have 4 storage pools with SSD/NVMe. Only one of them is a mix of two different brand 1GB, and that is what gave me the problem. Scared the heck out of me just removing the pool, but everything is back, and it started just fine after re-creating the pool. Thank you.

On 11/8/2024 at 1:55 PM, JorgeB said:

The cfg for that pool is incorrect, click the pool, then "remove pool", back on main, create the pool again, assign the devices, leave the fs set to auto, start the array, and it should re-import, if it doesn't post new diags.

I was stressed to have this issue after upgrading to 7.0.0 this morning. This quite easily solved the problem. Thank you.

JorgeB's solution also worked for me after upgrading to 7

I had the same error, but because my backup server does not have any cache or ZFS pool.  Under Unraid 6, there was simply no cache assigned.  Under Unraid 7 the array would not start.  I had to explicitly set the pool setting to 0 slots.  Then I could start the array.  Subsequent restarts were then also fine.

  • 3 weeks later...

This also helped me. Clicked 'cache', then Remove Pool. Add the pool again as Cache, and made sure the filesystem was set to 'auto'. Started the array and it is back up. Thanks!

  • 9 months later...

If anyone is still looking, I turned off the VMs and Docker. Started the array as per normal, then ran the command: btrfs balance start -dconvert=single /mnt/cache

cache replace this with whatever you have your named and let it go to stand by, check the log, it will show a bunch of BTRFS messages to get an idea when it is done.

Shut down the array and remove the drive. Software-wise and physically.

Go to click on the good drive in that pool, then go to REMOVE pool, DO NOT erase. Apply, pool is removed, then make a new pool with the same name and add the good drive.

Startup Array with VMs and Docker enabled.

Edited by HisEvilness

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.