RAID-1 SSD protection schemes
This post targets consumer environment. Enterprise Storage has advanced technology to deal with such issues, I think.
A. This is continuation of idea on different thread few days ago
1. In RAID-1, if you wrote X to Disk-1, you also need to write X to Disk-2
2. So if you wrote 20GB data to Disk-1, you probably need to write 20GB data to Disk-2
3. So if you wrote 40TB data to SSD-1, you probably need to write 40TB data to SSD-2
4. So if SSD-1 failed due to write endurance failure, SSD-2 will probably fail soon after the 1st one if both SSD are same model/capacity/partition-setup, in standard simple RAID-1 mirror setup.
B. Counter-measures
1. 1st is to use different spec SSD. Example SSD-1 is SLC. SSD-2 is MLC.
2. 2nd is to use different capcacity SSD. Example SSD-1 is 160GB SSD-2 is 80GB
3. 3rd is mix of different brands/models. Example Intel X25-M G2 160GB and SandForce-based 120GB
The basic idea is by having different specification leading to uneven pairing, it will modify the dynamic of write failure sucession in SSD RAID-1 scenario. This will avoid your RAID-1 to fail completely in short amount of time after encountering write endurance failure.
There is another way to address this issue.
1. Based on idea from Linux MD RAID. I have read-up but I have no experience with actual setup for now.
2. In Linux MD RAID, in RAID-1, you can have special setup.
3. Example, 2 Disks mirror, designate one disk as write-mostly/write-behind.
4. In that case, MD RAID will treat it as such (write-mostly), it will not read from it unless no choice.
5. So RAID-1 mirror
5a Disk-1 = SSD
5b. Disk-2 = Mechanical SATA disk (write-mostly)
In this case, Read IOPS comes from Disk-1 SSD so you enjoy full benefit of SSD IOPS
Disk-2 serves mostly as protection mechanism. In case SSD failed due to write endurance, you can still continue with the mechanical disk. This hybrid SSD/Mechanical RAID-1 setup may be useful in certain situations where you want improve performance but limited fund and you are also worry about failure issues mentioned in section A.
This post targets consumer environment. Enterprise Storage has advanced technology to deal with such issues, I think.
A. This is continuation of idea on different thread few days ago
1. In RAID-1, if you wrote X to Disk-1, you also need to write X to Disk-2
2. So if you wrote 20GB data to Disk-1, you probably need to write 20GB data to Disk-2
3. So if you wrote 40TB data to SSD-1, you probably need to write 40TB data to SSD-2
4. So if SSD-1 failed due to write endurance failure, SSD-2 will probably fail soon after the 1st one if both SSD are same model/capacity/partition-setup, in standard simple RAID-1 mirror setup.
B. Counter-measures
1. 1st is to use different spec SSD. Example SSD-1 is SLC. SSD-2 is MLC.
2. 2nd is to use different capcacity SSD. Example SSD-1 is 160GB SSD-2 is 80GB
3. 3rd is mix of different brands/models. Example Intel X25-M G2 160GB and SandForce-based 120GB
The basic idea is by having different specification leading to uneven pairing, it will modify the dynamic of write failure sucession in SSD RAID-1 scenario. This will avoid your RAID-1 to fail completely in short amount of time after encountering write endurance failure.
There is another way to address this issue.
1. Based on idea from Linux MD RAID. I have read-up but I have no experience with actual setup for now.
2. In Linux MD RAID, in RAID-1, you can have special setup.
3. Example, 2 Disks mirror, designate one disk as write-mostly/write-behind.
4. In that case, MD RAID will treat it as such (write-mostly), it will not read from it unless no choice.
5. So RAID-1 mirror
5a Disk-1 = SSD
5b. Disk-2 = Mechanical SATA disk (write-mostly)
In this case, Read IOPS comes from Disk-1 SSD so you enjoy full benefit of SSD IOPS
Disk-2 serves mostly as protection mechanism. In case SSD failed due to write endurance, you can still continue with the mechanical disk. This hybrid SSD/Mechanical RAID-1 setup may be useful in certain situations where you want improve performance but limited fund and you are also worry about failure issues mentioned in section A.