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.

HELP: BTRFS Cache Unmountable: Invalid pool config

Featured Replies

Hey Guys, 

 

I need some help. Did a clean shut down of my Unraid server yesterday to install some new ram. Installed the ram, booted normally and went to start the array and my cache pool would not start. 

 

Current configuration is a 3 SSD's in a BTRFS Raid5 Pool. (I know, Raid5 is experimental with BTRFS and not the best idea.) but Its been running fine for the last couple of years and I'm not sure what would have caused this error. 

Most of the files are backed up on my HDD array, so worst case scenario I can format and rebuild. But I'd rather fix it if possible. 

 

Last week I did a scrub and a rebalance of the cache pool and both completed just fine. 

Usage ratio was at about ~95%

Windows reported just over a 1tb of space free on the pool. 

Unraid Version: 6.10.2

 

So far I have tried a few things from this Guide, but some direction/help would be greatly appreciated. 

 

Feel free to ask any questions you might have, or let me know what logs/data I need to provide. 

 

Thanks!

 

 

 

 

 

 

Screen Shot 2022-06-22 at 9.30.46 PM.png

Screen Shot 2022-06-23 at 11.23.00 AM.png

Solved by JorgeB

  • Author

Tried to run "--check-data-csum" and got this error: 

 

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(516) : eval()'d code on line 779

Screen Shot 2022-06-23 at 12.03.22 PM.png

  • Community Expert

Don't try fixing the filesystem, that's not the problem, pool should be OK, problem is parity is registering as an invalid btrfs filesyetem during device scan:

 

Jun 23 10:35:47 Cold1 emhttpd: shcmd (236): /sbin/btrfs device scan
Jun 23 10:35:48 Cold1 root: ERROR: cannot scan /dev/sdi1: Input/output error

 

This is why the pool doesn't mount, this is a known issue but usually only happens when there's a single btrfs array device, though, and because of how parity it works, it can happen when there's an even number of btrfs array devices, you have 5.

 

Any recent changes to the array, like did you add a new disk?

  • Author

I have not added any devices to the Cache pool, But I did add 5 new platter drives to the HDD Array last week.. They got formatted as btrfs (because it was set to auto) but I attempted to change them to XFS as that's what the rest of the HDD in the array are running. 

 

 

Screen Shot 2022-06-23 at 12.18.14 PM.png

Edited by Trex Arms

  • Community Expert
2 minutes ago, Trex Arms said:

but I attempted to change them to XFS as that's what the rest of the HDD in the array are running. 

If the disks are still empty this would be the easiest way to solve this issue, or if you really want to use btrfs change them to btrfs encrypted.

  • Community Expert
2 minutes ago, Trex Arms said:

They got formatted as btrfs (because it was set to auto)

You must have changed the default format for array disks under Settings->Disk Settings as normally it is set to xfs.

  • Author

Ok, I will try that.

 

With the cache drives unmountable, those devices show up at the bottom next to the "format all unmountable disks" Do I need to Physically remove them from the system so they aren't present, format the HDD's and then add the Caches drives back in?

Edited by Trex Arms

  • Community Expert
  • Solution
Just now, Trex Arms said:

Do I need to Physically remove them from the system so they rant present

You just need to unassign them all, them when the disks are re-formatted xfs (or btrsf encrypted) just re-assign all the pool devices and start the array, it will import the existing pool.

  • Author
7 minutes ago, JorgeB said:

You just need to unassign them all, them when the disks are re-formatted xfs (or btrsf encrypted) just re-assign all the pool devices and start the array, it will import the existing pool.

Trying that Now. I'm guessing its okay to do this?  Not seeing the format drive option unless I start the array. 

Screen Shot 2022-06-23 at 12.38.47 PM.png

  • Community Expert
Just now, Trex Arms said:

I'm guessing its okay to do this?

Yes, as long as all pool members are unassigned it's fine.

  • Author
5 minutes ago, JorgeB said:

Yes, as long as all pool members are unassigned it's fine.

THANK YOU. That worked. All is back to normal. You have no idea how grateful I am for you for taking the time to walk a noob like me though that.  

 

337995942_ScreenShot2022-06-23at12_46_35PM.thumb.png.2a2414232ec5d6a531c9d22594d17bb0.png

 

Screen Shot 2022-06-23 at 12.46.24 PM.png

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.