On Sun, 14 Nov 2021 10:56:09 +0100 Klaus Vink Slott <list-s@vink-slott.dk> wrote:
Hi.
I use a retired office pc with core i5 with as a NAS. I have dropped in 2 disks (3.5T sata) and configured as md raid1 and with lvm on top. It has worked flawless for a year or so, but now after the latest 2 reboots it has triggered a raid rebuilding.
Only thing I find in dmesg (but I am not sure what to search for)
klaus@raagi:~> sudo dmesg | grep " md" [ 4.131071] md/raid1:md127: active with 2 out of 2 mirrors [ 4.282183] md127: detected capacity change from 0 to 4000261472256 [ 64.407382] md: data-check of RAID array md127 [21681.409218] md: md127: data-check interrupted. [25477.760407] md: data-check of RAID array md127 [47096.271827] md: md127: data-check interrupted.
I left the PC running after reboot, so I am not sure why the data-check was interrupted.
Any ideas on why it has started to rebuild after every reboot?
One obvious question. Have you checked that the disks are showing good status with no errors? Yes, I'd expect to get some warnings anyway but a specific test might be wise.