Does a Raid1 with mdadm run automatically?
I've rallied a few old drives. If one of them breaks, how will it even detect it? And if I replace it, do I have to do something in the command line, or will it detect it automatically and restore the data? And if individual bits are missing from the drive and the data slowly gets corrupted, will it notice that, or will it only detect it if a storage device fails completely?
Read in, then your questions should explain yourself
Manage software RAID with MDADM – Thomas-Krenn-Wiki
the last question will not be quite clear to me, it seems as if it were actually only doing with a total failure what
A Raid is not a backup!
especially a software raid… I would trust even less my data like the Intel-onBoard-Raid
With a mirror, you generally have the following proble:
In case of inconsistency, you don’t know what part of Mirros is right, or if one is right at all.
In this respect, this is generally such a thing with troubleshooting.
And Bit-Rot is a subject for itself, which can be handled at block level at maximum from RAID6.
Yes, in case of total failure and replacement, you have to do something manually, that is always the case, unless the replacement is already available as a (hot) saving.
In the case of block reading errors which are detected, it is of course possible to restore from the (accepted) intact copy (basic), how the concrete system behavior is in the docu.
What we would be talking about, read Doku von md or mdraid and, depending on the variant, the mdadm or lvm2.
By the way, it’s also completely Wumpe whether you use pure softraid, chipset based softraid such as iRST and consorts or a dedicated controller that remains the basic problem.
Do I have to think about bit-red? I mean, many people use normal hard drives every day without raid6, how often happens that a bit is broken?
The spirits are probably divorced, although I have experienced unrecognized reading errors, but the probability of entry is small enough that you do not have to worry about everyday data.