Awesome q2a theme

How to identify problems with Linux Raid?

0 like 0 dislike
54 views
There is a home server with raid 6 sitovym configured using mdadm.

The problem is that sometimes some files become zero-length, and sometimes some files disappear. But, the thing is that I don't know that for sure, never been able to catch a RAID on what the file was and then isschezli, or that he was originally a size, and then disappeared. Perhaps the file was originally a zero-length, or absent.

How can I verify the integrity of the RAID to identify problems, to recover lost files, restore corrupted files?

uname-a
Linux home-server 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
by | 54 views

2 Answers

0 like 0 dislike
if /proc/mdstat, all is well (judging by the output, everything is OK) then all the issues to the file system, what's your FS ?
by
0 like 0 dislike
Lost/corrupt files, it can't layer raid that works with blocks and knows nothing about your files, to the layer of the file system on it.
So the fsck and similar tools.
by
110,608 questions
257,187 answers
0 comments
40,796 users