February 28, 20251 yr 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
February 28, 20251 yr 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
February 28, 20251 yr 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?
February 28, 20251 yr 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.
February 28, 20251 yr 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.
February 28, 20251 yr 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.
February 28, 20251 yr 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:~#
February 28, 20251 yr 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
February 28, 20251 yr 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.
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.