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?

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
7 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
MichaelSAL74
2 years ago

Read in, then your questions should explain yourself

Manage software RAID with MDADM – Thomas-Krenn-Wiki

Thomasg
2 years ago
Reply to  Mensch4

A Raid is not a backup!

MichaelSAL74
2 years ago

especially a software raid… I would trust even less my data like the Intel-onBoard-Raid

KarlRanseierIII
2 years ago

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.

KarlRanseierIII
2 years ago
Reply to  Mensch4

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.