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 - too many missing/wrong devices

Featured Replies

i went to swap out drives with newer bigger drives. 512 -> 2TB.

i removed one, added a 2TB worked fine
tried to remove the last and replace with other 2TB and i get the error to many missing wrong devices.

ive tried unassigning, start, stop, reassign, stop and it just keeps with the same error.

when i do a newconfig i get this error popup and it doesnt add the drive.
 

Warning [TOWER] - Cache pool BTRFS missing device(s)
 

Notice [TOWER] - Cache disk returned to normal operation

tower-diagnostics-20250228-1119.zip

Solved by JorgeB

  • Community Expert

Post the output from

btrfs fi show

 

  • Author

@JorgeB

 

Label: none  uuid: 29071009-56d4-4d38-917b-b20d40b64e46
        Total devices 2 FS bytes used 222.82GiB
        devid    1 size 0 used 0 path  MISSING
        devid    2 size 1.82TiB used 229.91GiB path /dev/nvme0n1p1

Label: none  uuid: e2c24bd7-283c-459e-beb9-73ffd904e916
        Total devices 1 FS bytes used 63.88GiB
        devid    1 size 150.00GiB used 111.00GiB path /dev/loop2

Label: none  uuid: 221cc4f9-6146-41eb-a782-4a9a15c6bc64
        Total devices 1 FS bytes used 154.00GiB
        devid    1 size 1.82TiB used 156.02GiB path /dev/nvme1n1p1

 

  • Community Expert

Which of the NVMe devices is the old pool device? The one that was working before you tried to add the last device. I assume nvme0m1?

 

 

  • Author

devid 1 size 0 used 0 path MISSING is the one thats gone.

/dev/nvme1n1p1 is the new disk im trying to add in.

  • Community Expert

Reimport the pool with nvme0n1 and the missing device:

 

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 1 slots
assign the pool device, leave the filesystem set to auto
start the array to import the pool and post new diags.

  • Community Expert

Pool has dual single and raid1 data profiles, that's what causing the issue, with the array running type:

 

btrfs balance start -dconvert=raid1,soft -mconvert=raid1,soft /mnt/cache

 

When that's done, should be a minute or less, reimport the pool has above, and post new diags after array start.

 

 

  • Author

@JorgeB should i stop the array before running that?

 

  • Community Expert
4 minutes ago, JorgeB said:

with the array running

 

  • Author

@JorgeB sorry missed that

 

root@Tower:~# btrfs device remove missing /mnt/cache
ERROR: error removing device 'missing': unable to go below two devices on raid1
WARNING: Multiple block group profiles detected, see 'man btrfs(5)'
WARNING:    Data: single, raid1
root@Tower:~# btrfs balance start -dconvert=raid1,soft -mconvert=raid1,soft /mnt/cache
ERROR: error during balancing '/mnt/cache': Invalid argument
There may be more info in syslog - try dmesg | tail
root@Tower:~# dmesg | tail
[17638.027385] BTRFS error (device nvme0n1p1): balance: invalid convert data profile raid1
root@Tower:~# 

 

  • Community Expert

Not sure why that is failing, I believe it should work even with the missing device, but maybe I'm wrong, let's try the other way around

 

btrfs balance start -dconvert=single,soft -mconvert=single,soft /mnt/cache

 

  • Community Expert

This will take longer to balance.

  • Author

@JorgeB running had to --force it. will report back with diag when done

  • Community Expert
  • Solution

I'm about to go offline for the day, so, assuming that work, then type (with the array still running)

 

btrfs dev del missing /mnt/cache

 

Then reimport the pool with the single device, and after stopping the array, you should now be able to add the other one, it will create a new mirror.

  • Author

@JorgeBthank you! that worked!

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.