Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everyone, On Saturday I received an alert from our server setup with software RAID1 using mdadm. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active ...
  1. #1
    jz_
    jz_ is offline
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2

    Exclamation Please help w/ mdadm - two disk failures

    Hi everyone,

    On Saturday I received an alert from our server setup with software RAID1 using mdadm.

    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : active raid1 sdb1[1] sda1[0]
    3905472 blocks [2/2] [UU]

    md1 : active raid1 sdb2[1] sda2[2](F)
    1461231552 blocks [2/1] [_U]

    I removed sda2 and then tried to rebuild it, but received a FailSpare event alert shortly after.

    Last night I received another mail alerting of a failure, but this time on md0.

    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : active raid1 sdb1[1] sda1[2](F)
    3905472 blocks [2/1] [_U]

    md1 : active raid1 sda2[2](F) sdb2[1]
    1461231552 blocks [2/1] [_U]

    I removed both failed partitions using mdadm --remove /dev/md1 /dev/sda2 and
    mdadm --remove /dev/md0 /dev/sda1. I am now in a degraded array state with cat /proc/mdadm showing

    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md1 : active raid1 sda2[1]
    1461231552 blocks [2/1] [_U]

    md0 : active raid1 sda1[1]
    3905472 blocks [2/1] [_U]

    I am still able to log on to the server, but can anyone please help me rebuild these drives? I appreciate your help. Thanks.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    Unfortunately, a lot of RAID systems experience multiple drive failures within a very short time frame since their discs are usually purchased/installed together from the same manufacturing batch. When that happens, you are SOL. Just one reason why I generally don't bother with RAID unless I manually install them and make sure that all discs are from different manufacturing batches. I know this doesn't help you a lot, but then there's not much I can do other than suggest you contact the RAID device manufacturer to see what they recommend.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    jz_
    jz_ is offline
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2
    I appreciate the response. Both disks were purchased from the same vendor at the same time and were from a bad batch.

  4. #4
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    1- What you mean 2 disks failures? I only see failures on sda.

    2- If you --remove sdaX, why sdbX is not showing on the last /proc/mdstat (not /proc/mdadm, right?), but only the sdaX you did (maybe not) removed? Why is not sdbX showing?

    The path is:
    say on md0 -> sda2(F)

    mdadm /dev/md0 --fail /dev/sda2
    mdadm /dev/md0 --remove /dev/sda2

    Now the array will be in degraded mode (not a biggy) showing only sdb partitions.

    Remove faulty disk, buy a new one, connect it, create a new sda2 partition on that disk, and run
    mdadm /dev/md0 --add /dev/sda2

    After sync, it will be ok. So please check my first questions, and we may enter on some more detail and verify the statements, but that's the general idea, AFAIK.

    Regards
    Luis

    PS: I would try to use the server as little as possible.
    And be hopefull
    Last edited by ptkobe; 10-30-2010 at 03:36 AM.

  5. #5
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    Quote Originally Posted by Rubberman View Post
    ... contact the RAID device manufacturer ...
    I don't think there's a RAID device here.

    To the OP: Is there? Do you have any RAID card or are using the motherboard RAID?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...