I just added a second cache drive to my unraid 6.12.6. I started the array, and as expected it went from single mode to raid1. The first cache drive was full, and had some file errors. I have about 30% of the drive full of files that never moved with the mover and seem to be bad files. I've been discovering this as I go along. The cache drive is home to a Plex install that is rather large, I spent the last 8 hours backing it up.
So once I started the array, I waited for the balance to complete, and then went into my cache drive and clicked the drop down next to Balance and selected convert to raid1 mode. It started and then just stopped with no error. I rebooted and it's still on raid1. From here I tried the manual command "btrfs balance start -dconvert=raid0 -mconvert=raid1 /mnt/cache". After a few seconds I get:
ERROR: error during balancing '/mnt/cache': Input/output error
There may be more info in syslog - try dmesg | tail
Then I look at dmesg and see:
[48543.689316] BTRFS info (device sdp1): relocating block group 11722482909184 flags data|raid0
[48543.698024] BTRFS info (device sdp1): relocating block group 11720335425536 flags data|raid0
[48543.710648] BTRFS info (device sdp1): relocating block group 11718187941888 flags data|raid0
[48543.719299] BTRFS info (device sdp1): relocating block group 11716040458240 flags data|raid0
[48543.728038] BTRFS info (device sdp1): relocating block group 11544241766400 flags data|raid0
[48544.627952] BTRFS warning (device sdp1): csum failed root -9 ino 321 off 1199177728 csum 0x758fc687 expected csum 0x9168da17 mirror 1
[48544.627958] BTRFS error (device sdp1): bdev /dev/nvme0n1p1 errs: wr 0, rd 0, flush 0, corrupt 324, gen 0
[48544.631403] BTRFS warning (device sdp1): csum failed root -9 ino 321 off 1199177728 csum 0x758fc687 expected csum 0x9168da17 mirror 1
[48544.631407] BTRFS error (device sdp1): bdev /dev/nvme0n1p1 errs: wr 0, rd 0, flush 0, corrupt 325, gen 0
[48545.811102] BTRFS info (device sdp1): balance: ended with status: -5
I have no idea where to go from here.
I also have no idea how to resolve the unmoved files on the cache drive. If I try to move them myself from cache to disk11 or something, it says there are file errors.
I also started the array in maintenance mode and ran the check from the UI. It found errors, so I ran it again with --repair. The errors seem to have been fixed, there were some file chunks it sent to lost+found. Before the repair if I tried things like "du" or "find" on one of the folders in the cache drive, I would get tons of errors. Now I don't get those errors. So I think I maybe fixed one thing at least. In backing up the Plex folder, I did have some errors which I just skipped, they were all the same files that had errors when I tried to get folder sizes or find files.
Any help would be appreciated, I'm struggling to get my Plex and other apps back up and running, my cache is full, and I can't move any of the files or clean anything up...