Hello, I realized several Docker services were down, and was surprised to see the Docker service had failed. Then looking at the array status, the cache pool of 2 SATA ssd's (BTRFS in raid 1) shows as "unmountable." I noticed several other issues on this forum with the same issue recently but am concerned about deleting data.
What I've done so far:
Stopped the array, removed the cache drives by setting pool slots to 0 (so it looked like the below screenshot), restarted the array, stopped the array, added cache drives back, restarted the array in maintenance mode
Couple questions:
1. Was this the correct way to remove/re-add the cache pool?
2. The next step in the filesystem check is to run the btrfs check without the --readonly option, is there anything else I should do before this to ensure I don't cause further issues?
I suspect a power loss was the root cause, the devices exist so I doubt an ssd hardware issue, (this was run while in maintenance mode)
btrfs fi show
Label: none uuid: b9325cba-fcee-4e86-8250-caa493fa4a24
Total devices 2 FS bytes used 99.92GiB
devid 1 size 238.47GiB used 143.03GiB path /dev/sdb1
devid 2 size 238.47GiB used 143.03GiB path /dev/sdc1
After restarting in maintenance mode this is the output of the the filesystem check.
btrfs check --readonly /dev/sdb1
Opening filesystem to check...
Checking filesystem on /dev/sdb1
UUID: b9325cba-fcee-4e86-8250-caa493fa4a24
[1/7] checking root items
[2/7] checking extents
data extent[178439438336, 16384] referencer count mismatch (root 5 owner 260 offset 513245184) wanted 0 have 1
data extent[178439438336, 16384] bytenr mimsmatch, extent item bytenr 178439438336 file item bytenr 0
data extent[178439438336, 16384] referencer count mismatch (root 5 owner 260 offset 34872983552) wanted 1 have 0
backpointer mismatch on [178439438336 16384]
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space tree
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 107287035904 bytes used, error(s) found
total csum bytes: 50747720
total tree bytes: 141934592
total fs tree bytes: 66371584
total extent tree bytes: 16416768
btree space waste bytes: 21003679
file data blocks allocated: 191448006656
referenced 93518864384
btrfs check --readonly /dev/sdc1
Opening filesystem to check...
Checking filesystem on /dev/sdc1
UUID: b9325cba-fcee-4e86-8250-caa493fa4a24
[1/7] checking root items
[2/7] checking extents
data extent[178439438336, 16384] referencer count mismatch (root 5 owner 260 offset 513245184) wanted 0 have 1
data extent[178439438336, 16384] bytenr mimsmatch, extent item bytenr 178439438336 file item bytenr 0
data extent[178439438336, 16384] referencer count mismatch (root 5 owner 260 offset 34872983552) wanted 1 have 0
backpointer mismatch on [178439438336 16384]
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space tree
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 107287035904 bytes used, error(s) found
total csum bytes: 50747720
total tree bytes: 141934592
total fs tree bytes: 66371584
total extent tree bytes: 16416768
btree space waste bytes: 21003679
file data blocks allocated: 191448006656
referenced 93518864384
system: Unraid 6.12.13 on an older i5-3570K system.
unraid-diagnostics-20241021-1238.zip