Answer the question
In order to leave comments, you need to log in
How to identify problems with Linux Raid?
There is a home server with soft raid 6 configured using mdadm.
The problem is that sometimes on it some files become zero length, and sometimes some files disappear. But, the fact is that I don't know this for sure, I have never been able to catch a raid on the fact that the file was and then disappeared, or that it originally had a size and then disappeared. Perhaps the file was originally with zero length, or was missing.
How can I check the integrity of the raid, identify problems, recover lost files, recover damaged files?
Answer the question
In order to leave comments, you need to log in
if everything is fine in /proc/mdstat (judging by the output, everything is OK), then all the questions are about the file system, what fs do you have?
Lost/corrupted files, this is not to the raid layer, which works with blocks and knows nothing about your files, but to the file system layer that is on it.
So look towards fsck and similar tools.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question