i was wondering what other people did about using Linux md raid1 on SSDs. on centos, there's a weekly scheduled job to do a check on the raid1, and although I thought check operations are mostly read-and-compare, it seems that it instead does a 'resync' from 1 SSD to the 2nd one. This of course, as I've found out, makes for an imbalanced wear on the SSDs.. the 2nd SSD gets several orders of magnitude more writes and than the 1st. so, a couple of questions:
1) what do you do to not cause such wear ? (i've chosen to schedule the check less frequently)
2) why does it mostly seem to write to the 2nd SSD during this operation? why can't such an operation be just a read-and-compare and report on error. how does linux md raid decide which copy of the data is correct when it detects inconsistencies in a mirror set?
3) is it possible to have it alternate between the 1st and 2nd SSD? so that it can even out the write wear?
1) what do you do to not cause such wear ? (i've chosen to schedule the check less frequently)
2) why does it mostly seem to write to the 2nd SSD during this operation? why can't such an operation be just a read-and-compare and report on error. how does linux md raid decide which copy of the data is correct when it detects inconsistencies in a mirror set?
3) is it possible to have it alternate between the 1st and 2nd SSD? so that it can even out the write wear?