LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Question about raid (https://www.linuxquestions.org/questions/linux-server-73/question-about-raid-939456/)

circus78 04-12-2012 08:49 AM

Question about raid
 
Hi, this is my /proc/mdstat

Quote:

# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[2](F) sdb3[1]
154240000 blocks [2/1] [_U]

md1 : active raid1 sda2[0] sdb2[1]
1951808 blocks [2/2] [UU]

If sda3 is fail, how it's possible that sda2 is ok?
Thankyou

MensaWater 04-12-2012 09:01 AM

They are different partitions on the physical disk /dev/sda. It is possible that you'd end up with a failed block on one part of the disk that didn't affect other parts.

It would stupid to have two partitions from the same disk as RAID members in the same mirror because the likelihood the entire disk would fail and cause you to lose all RAID members is fairly high. However, in your setup you have two separate RAID sets so it means if the entire disk /dev/sda fails it degrades both RAID sets but doesn't destroy them since the other members are on /dev/sdb.

Were it me and I saw disk errors start happening suddenly I might consider just replacing /dev/sda altogether even if everything hasn't yet failed on the theory that it will get worse over time.


All times are GMT -5. The time now is 10:46 PM.