On Friday 06 October 2006 19:54, vinayan K.P wrote:
I followed the article and could set up my RAID1 but when I restarted the system I could see that only one meta device has both the submirrors active and the other two has only one.
Before restarting, my
# cat /proc/mdstat was as follows
--------------------------------------------------------------------------- # cat /proc/mdstat
Personalities : [raid1] md3 : active raid1 sda3[1] sdb3[0] 210571904 blocks [2/1] [U_]
md2 : active raid1 sda2[1] sdb2[0] 29366720 blocks [2/1] [U_]
md1 : active raid1 sda1[1] sdb1[0] 29366720 blocks [2/2] [UU]
--------------------------------------------------------------------------- ---
Before restarting, my
# cat /proc/mdstat was as follows
======================================= # cat /proc/mdstat
Personalities : [raid1] md3 : active raid1 sda3[1] sdb3[0] 210571904 blocks [2/2] [UU]
md2 : active raid1 sda2[1] sdb2[0] 29366720 blocks [2/2] [UU]
md1 : active raid1 sda1[1] sdb1[0] 29366720 blocks [2/2] [UU]
=======================================
Why did this happen and how can i fix this problem? Is it something to do with /boot/grub/menu.lst file? I would be really gratefuly if someone could help me out.
Hi Vinayan, You can see what happen with the raid using dmesg. Anyway, no worries. You just need to rebuild the array. mdadm /dev/md2 -a /dev/sdb2 mdadm /dev/md3 -a /dev/sdb3 You can watch the building process: watch cat /proc/mdstat HTH, -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 6:58am up 20:13, 2.6.16.13-4-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org