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.

BTRFS Cache pool - missing device and too many profiles

Featured Replies

Hi all,

 

I attempted to replace one of my BTRFS cache pool NVME, configured in RAID 1.

Since then, i keep getting the same errors (see title).

I can only start the array if I remove the pool, create a new one with one disk.

Once the array starts, those 2 error messages reaper:

Unraid Cache disk messageWarning [HP] - Cache pool BTRFS missing device(s)No device identification ()warning

Unraid Cache disk messageWarning [HP] - pool BTRFS too many profiles (You can ignore this warning when a pool balance operation is in progress)No device identification ()

 

I have attached the latest diagnostics. I spent hours on this with no luck, would appreciate some guidance.

 

Thanks

hp-diagnostics-20241223-0833.zip

Solved by max-go

  • Community Expert

Post the output from

 

btrfs fi show

 

  • Author

root@HP:~# btrfs fi show
warning, device 1 is missing
Label: none  uuid: e0240d9b-403e-4fd6-a841-a6ef446a10b6
        Total devices 2 FS bytes used 102.16GiB
        devid    2 size 238.47GiB used 126.03GiB path /dev/nvme0n1p1
        *** Some devices missing

  • Author
On 9/28/2024 at 1:21 PM, JorgeB said:

You cannot add a device to an xfs pool, set the pool slots back to 1, filesystem to auto or xfs, and it should import the old pool.

Thanks. It is a BTRFS pool.

I did what you suggested - at least 10 times during the last 24 hours - and get the same results:

 

Removed pool, add pool with 1 slot:

Capturedcran2024-12-23114918.thumb.png.5643e4a792967a89859f85d89620d38a.png

 

Once the array starts, one drive appears missing, and the error messages pop up

Capturedcran2024-12-23115232.thumb.png.0dde03c7c21b10887a34683a6a4bb2e9.png

  • Community Expert

Post new diags with the array started, with the pool missing a device.

  • Author
3 minutes ago, JorgeB said:

Post new diags with the array started, with the pool missing a device.

Here you go. Thanks

hp-diagnostics-20241223-1245.zip

  • Community Expert

Convert the pool to single profile, then restart the array, but you may need to remove the missing device manually.

  • Author
1 minute ago, JorgeB said:

Convert the pool to single profile, then restart the array, but you may need to remove the missing device manually.

Thanks. How do I remove the missing device manually?

  • Community Expert

First balance to single, and then restart the array to see if Unraid removes it automatically, but I believe it only does it for raid profiles, I can post the command after that, but new diags first to confirm the pool is single.

  • Author
4 minutes ago, JorgeB said:

First balance to single, and then restart the array to see if Unraid removes it automatically, but I believe it only does it for raid profiles, I can post the command after that, but new diags first to confirm the pool is single.

That's the thing: the pool is already in single profile, and already balanced. 

However, both devices are listed.

 

Am I missing something?

 

Capturedcran2024-12-23143014.thumb.png.589f9a82aa1f1bf5c6af8ad09c355491.png

  • Community Expert
17 minutes ago, max-go said:

the pool is already in single profile

There are two data profiles, single and raid1:

 

                  Data      Data     Metadata  System                              
Id Path           single    RAID1    RAID1     RAID1    Unallocated Total     Slack
-- -------------- --------- -------- --------- -------- ----------- --------- -----
 1 missing                - 25.00GiB   1.00GiB 32.00MiB   212.44GiB 238.47GiB     -
 2 /dev/nvme0n1p1 100.00GiB 25.00GiB   1.00GiB 32.00MiB   112.44GiB 238.47GiB     -
-- -------------- --------- -------- --------- -------- ----------- --------- -----
   Total          100.00GiB 25.00GiB   1.00GiB 32.00MiB   324.88GiB 476.95GiB 0.00B
   Used            96.66GiB  5.34GiB 185.41MiB 16.00KiB                            

 

  • Author
31 minutes ago, JorgeB said:

There are two data profiles, single and raid1:

 

                  Data      Data     Metadata  System                              
Id Path           single    RAID1    RAID1     RAID1    Unallocated Total     Slack
-- -------------- --------- -------- --------- -------- ----------- --------- -----
 1 missing                - 25.00GiB   1.00GiB 32.00MiB   212.44GiB 238.47GiB     -
 2 /dev/nvme0n1p1 100.00GiB 25.00GiB   1.00GiB 32.00MiB   112.44GiB 238.47GiB     -
-- -------------- --------- -------- --------- -------- ----------- --------- -----
   Total          100.00GiB 25.00GiB   1.00GiB 32.00MiB   324.88GiB 476.95GiB 0.00B
   Used            96.66GiB  5.34GiB 185.41MiB 16.00KiB                            

 

How do I fix this?

  • Community Expert
2 hours ago, JorgeB said:

First balance to single,

Click on the pool, then select single profile and balance.

  • Community Expert

Just had a chance to test, to confirm current behavior, you can remove a device from a pool, but if you import an already degraded pool, Unraid will keep it like that.

 

Is the plan to add another device to the pool later, or do you want to keep it single device?

  • 4 weeks later...
  • Author
  • Solution

This issue drove me nuts for weeks. I finally upgraded to version 7, and it finally fixed itself. Thanks for helping

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.