March 6, 20251 yr Hello Unraiders At the version 7.0.0 I removed one problematic drive from the cache pool. I now have only one drive for the cache pool. Everytime I restart the server, I cannot start the array without deleting first the cache pool and then creating it again. Before removing the pool after removing the pool After starting it again Diagnostics attached as well Thanks in advance for the support! unraid-diagnostics-20250306-1146.zip
March 6, 20251 yr Community Expert Solution There's currently a bug removing devices from btrfs raid1 pools, with the array running type: btrfs balance start -f -dconvert=single -mconvert=dup /mnt/cache When that done, post new diags, with the array still running
March 6, 20251 yr Community Expert Balance is still going, wait for the read/write activity to stop in the pool, then post new diags
March 6, 20251 yr Author ok, it just finished (but with errors) full diagnostics attached Mar 6 15:23:28 unraid kernel: BTRFS info (device sdb1): relocating block group 232059305984 flags data|raid1 Mar 6 15:23:33 unraid kernel: BTRFS warning (device sdb1): csum failed root -9 ino 495 off 719138816 logical 232778444800 csum 0xa85f6673 expected csum 0x908ad908 mirror 1 Mar 6 15:23:33 unraid kernel: BTRFS warning (device sdb1): checksum error at logical 232778444800 mirror 1 root 5 inode 20555644 offset 1011712 length 4096 links 1 (path: appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/c4f04a5efc1d85df7a2d53942b0385b2652d18c.bundle/Contents/_combined/art/tv.plex.agents.series_488a79589fc5f3e99157ee8e1cbb19b6f80490ac) Mar 6 15:23:33 unraid kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 43, gen 0 Mar 6 15:23:33 unraid kernel: BTRFS warning (device sdb1): csum failed root -9 ino 495 off 719142912 logical 232778448896 csum 0x82f5e12d expected csum 0x8188ffff mirror 1 Mar 6 15:23:33 unraid kernel: BTRFS warning (device sdb1): checksum error at logical 232778448896 mirror 1 root 5 inode 20555644 offset 1015808 length 4096 links 1 (path: appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/c4f04a5efc1d85df7a2d53942b0385b2652d18c.bundle/Contents/_combined/art/tv.plex.agents.series_488a79589fc5f3e99157ee8e1cbb19b6f80490ac) Mar 6 15:23:33 unraid kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 44, gen 0 Mar 6 15:23:33 unraid kernel: BTRFS warning (device sdb1): csum failed root -9 ino 495 off 719138816 logical 232778444800 csum 0xa85f6673 expected csum 0x908ad908 mirror 1 Mar 6 15:23:33 unraid kernel: BTRFS warning (device sdb1): checksum error at logical 232778444800 mirror 1 root 5 inode 20555644 offset 1011712 length 4096 links 1 (path: appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/c4f04a5efc1d85df7a2d53942b0385b2652d18c.bundle/Contents/_combined/art/tv.plex.agents.series_488a79589fc5f3e99157ee8e1cbb19b6f80490ac) Mar 6 15:23:33 unraid kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 45, gen 0 Mar 6 15:23:41 unraid kernel: BTRFS info (device sdb1): balance: ended with status: -5 unraid-diagnostics-20250306-1637.zip
March 6, 20251 yr Community Expert Balance aborted due to a corrupt file, you will need to delete that file, or restore from a backup, then resume the balance, note that the command is slightly different to avoid rebalancing what is already done: btrfs balance start -f -dconvert=single,soft -mconvert=dup,soft /mnt/cache If more corrupt files are found, you will also need to delete them and continue.
March 6, 20251 yr Community Expert Now type, with the array still running: btrfs dev del missing /mnt/cache Then stop the array and reimport the single pool 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 slot assign the pool device, leave the filesystem set to auto start the array to import the pool, and the issue should be resolved
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.