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.

UNRAID 7.0.0 - Unable to mount cache pool

Featured Replies

Summary:

 

I had replaced the guts of the system with a new motherboard/cpu and added a shiny new 2TB NVME drive.  I added another slot to Cache Pool and added the NVME to slot 2.  Everything synced and was happy.  I had decided to try to remove the old cache pool drive (2.5 SSD) and was able to remove it.  Of course now I was in a weird state of a half working RAID1 pool.  I was doing more maintenance on the server and rebooted a couple times.  After the last reboot the array fails to start with "Wrong Pool State - cache too many wrong or missing devices"

 

Cache2 correctly identifies the NVME 2TB drive and its green color.  Cache1 is unassigned.  I've tried removing cache2 and then I've tried to mount it in order to back up the data and that doesn't work.  At this point I know how to fix it destructively, but i'd like to get appdata off the cache drive.  Is there anyway to recover the data?  I've got old backups on the array that I could use so its not the end of the world.

 

Diags attached.

 

image.thumb.png.53cc131882dac6b5cca131dd3476e419.png

 

Skipdog

unraid-diagnostics-20250122-1401.zip

Solved by JorgeB

  • Community Expert

The pool profile is set to single, try this, click on the first pool device, then "remove pool", back on main add a new pool with the same name and just 1 slot, assign that NVMe device only, start the array, post new diags.

  • Author

JorgeB,

 

Thank you so much that got my cache drive back up and working.  I'll definitely perform a backup now of appdata.

 

It looks like when I assigned the single drive and it mounted it returned the pool devices to original 2 slot.  Should I invoke mover and get it all back on the array and then wipe the cache and then user mover to reduce cache drive to 1?  Also the 2TB is showing half the capacity.

 

image.thumb.png.114a4102bb1052a80e9dd26b03d5e182.png

 

New Diags uploaded.

 

Skipdog

unraid-diagnostics-20250122-1520.zip

  • Community Expert

You want to keep just that device for the pool, correct?

  • Author

Hi JorgeB,


Yes for now I want to have a pool with a single NVME drive with the original size of 2TB.

 

image.thumb.png.15428cd2251de4d110c8de67c1d9f4d6.png

 

Skipdog

Edited by Skipdog

  • Community Expert

With the current status, the easiest way is to use the CLI to remove the missing device, but first you need to balance the pool to single, click on it, balance to single, then post new diags to confirm.

  • Author

Balance completed!  I see the space issue looks correct now.

 

New diags attached here.  I assume I can do something as you said to collapse the pool to 1?

 

Skip

unraid-diagnostics-20250123-1524.zip

  • Community Expert
  • Solution

With the array still running, type:

btrfs dev del missing /mnt/cache

Then stop the array and reimport the pool once more:

On 1/22/2025 at 7:14 PM, JorgeB said:

click on the first pool device, then "remove pool", back on main add a new pool with the same name and just 1 slot, assign that NVMe device only, start the array, post new diags.

 

  • Author

Thank you!  Good to go!

 

Skipdog

  • 2 months later...

This post helped me a lot. I'm on 7.0.1 and was in the same position, trying to replace a small cache pool disk with a larger one. I too added a slot to the pool and added the larger drive and set it to raid 1 and let it btrfs sync. Then i got stuck trying to remove the other drive. This is what worked for me once i was in the sa:

 

- stop array
- remove old SSD from pool
- start array, clicking "yes to remove disk" (looks like this automatically set the pool back to single mode)
- with array running, run command: btrfs dev del missing /mnt/ssd_cache_docker (name of my pool)
- stop array
- click on pool, "remove pool"
- recreate pool with same exact name

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.