Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with RAID - Failed Mirror?[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ferrarif5
Apprentice
Apprentice


Joined: 06 Sep 2003
Posts: 211
Location: Manchester, UK

PostPosted: Sat Sep 18, 2010 4:55 pm    Post subject: Problem with RAID - Failed Mirror?[solved] Reply with quote

Hi,
I've noticed I now have a RAID device called md124, my guess it's part of a failed mirror RAID (belonging to md3), here is my RAID setup:
1. md1 - Mirror - (boot) sda1,sdb1
2. md2 - Mirror - (swap) sda2,sdb2
3. md3 - Mirror - (home) sda3,sdb3
4. md4 - Stripe - (/) sda4,sdb4

Here is the output of mdstat:
Code:
 
$ cat /proc/mdstat
Personalities : [raid0] [raid1]
md3 : active raid1 sda3[0]
      19542976 blocks [2/1] [U_]
     
md1 : active raid1 sdb1[1] sda1[0]
      40064 blocks [2/2] [UU]
     
md2 : active raid1 sdb2[1] sda2[0]
      11727360 blocks [2/2] [UU]
     
md124 : active raid1 sdb3[1]
      19542976 blocks [2/1] [_U]
     
md4 : active raid0 sdb4[1] sda4[0]                                                                                                                                                 
      1890898560 blocks 64k chunks                                                                                                                                                 
                                                                                                                                                                                   
unused devices: <none>


I've also noticed this on dmesg:
Code:

    3.752764] md: sda3 has same UUID but different superblock to sdb3
[    3.752821] md: sda2 has different UUID to sdb3
[    3.752876] md: sda1 has different UUID to sdb3
[    3.753078] md: created md124
[    3.753129] md: bind<sdb3>
[    3.753244] md: running: <sdb3>
[    3.759202] raid1: raid set md124 active with 1 out of 2 mirrors
[    3.759268] md124: detected capacity change from 0 to 20012007424


Is this due to a error in the superblock? What's the best way to fix this? Since it's just my home would it be easier to just remove the RAID, copy the contents to my / and recreate the RAID?

Thanks
_________________
Asus P6X58D-E Mobo
Intel Core i7 920
18GB Corsair DDR3
User:335876 | Screenshot


Last edited by ferrarif5 on Sat Sep 18, 2010 11:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sysa
Apprentice
Apprentice


Joined: 16 Mar 2005
Posts: 161
Location: Europe

PostPosted: Sat Sep 18, 2010 11:33 pm    Post subject: Re: Problem with RAID - Failed Mirror? Reply with quote

ferrarif5 wrote:
What's the best way to fix this? Since it's just my home would it be easier to just remove the RAID, copy the contents to my / and recreate the RAID?

Thanks

mdadm --stop /dev/md124
mdadm /dev/md3 --add /dev/sdb3
_________________
RedHat -> SuSE -> Debian -> Gentoo
Back to top
View user's profile Send private message
ferrarif5
Apprentice
Apprentice


Joined: 06 Sep 2003
Posts: 211
Location: Manchester, UK

PostPosted: Sat Sep 18, 2010 11:50 pm    Post subject: Reply with quote

Thanks a lot!
That was the most painless fix for something yet :lol:
_________________
Asus P6X58D-E Mobo
Intel Core i7 920
18GB Corsair DDR3
User:335876 | Screenshot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum