![]() |
software raid problem
Ok. So I don't have a drive that failed but I just noticed that two of my partitions aren't mirrored anymore. They used to be. Can anyone give some helpful tips or point me in the right direction on how to fix this? Everything I'm reading is on drive failure only. I think I may just need to resynchronize them but I'm not sure if you can do that.
Code:
[root@server ~]# cat /proc/mdstatCode:
[root@server ~]# fdisk -lDEVICE partitions MAILADDR root ARRAY /dev/md2 level=raid1 num-devices=2 uuid=ae0c2514:084a7067:2f452462:3d34e6ea ARRAY /dev/md0 level=raid1 num-devices=2 uuid=722785de:74ec7f53:38daed28:0929896a ARRAY /dev/md1 level=raid1 num-devices=2 uuid=44f67f49:e88f3958:dea4af5b:d7863e55 ~ |
Take a look at this tutorial: http://www.howtoforge.com/replacing_..._a_raid1_array
|
awesome, that looks like exactly what I'm looking for. Question:
Personalities : [raid1] md0 : active raid1 sdb1[0] 104320 blocks [2/1] [U_] see how is says sdb1? I have sda1 and sdb1. Which one failed? How do I know which one the underscore is for? |
I think that in your case sdb is ok and sda failed.
|
for anyone who reads this.... Software RAID on fedora Core 5 using CLI.
ok, so let's break down the cat /proc/mdstat first Code:
[root@phoenix-nest /]# cat /proc/mdstat(If the hdd had actually died and needed to be replaced, you would have had to manually mark them as failed following the steps provided in the link above. Thanks Falco! Mine was just missing the drive in the first place.) The other two, (md0 and md2) only have one drive and partition listed. All I had to do was re-add these using: Code:
[root@phoenix-nest /]# mdadm --manage /dev/md0 --add /dev/sda1Code:
[root@phoenix-nest /]# cat /proc/mdstat |
it seems like both disks aren't synchronized with each other. you better google 'raid recovery online' for a quick solution
|
| All times are GMT +2. The time now is 09:38. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.