Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: mdadm crash... HELP...

  1. #1

    Default mdadm crash... HELP...

    I have an mdadm raid 5, with 5 drives running for more that 1 year with no issues
    Something really really bad happend and it's saying I just loose 3 drives
    and don't let me add the other 3 saying "mdadm: /dev/sdc does not appear to be an md device"

    here is how the mdadm looks now
    mdadm: metadata format 00.90 unknown, ignored.
    /dev/md0:
    Version : 00.90
    Creation Time : Sun Mar 15 03:49:03 2009
    Raid Level : raid5
    Used Dev Size : 976762368 (931.51 GiB 1000.20 GB)
    Raid Devices : 5
    Total Devices : 2
    Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sat Nov 20 16:23:39 2010
    State : active, degraded, Not Started
    Active Devices : 2
    Working Devices : 2
    Failed Devices : 0
    Spare Devices : 0

    Layout : left-symmetric
    Chunk Size : 512K

    UUID : a8218870:64885bf0:e9110788:09b4438a
    Events : 0.1715296

    Number Major Minor RaidDevice State
    0 8 0 0 active sync /dev/sda
    1 8 16 1 active sync /dev/sdb
    2 0 0 2 removed
    3 0 0 3 removed
    4 0 0 4 removed


    I'm really really desperate.....
    Thanks!

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: mdadm crash... HELP...

    Maybe /dev/sdc failed? Does dmesg show that it was detected?

  3. #3

    Default Re: mdadm crash... HELP...

    I cannot add any of the other drives....

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: mdadm crash... HELP...

    Never mind about the other RAID arrays. I'm talking about physical drives here, not RAID arrays which are synthesised from multiple partitions. The physical drive sdc, is it present and working or not? If it has failed, then proceed with replacement of the drive and rebuilding of the arrays.

  5. #5

    Default Re: mdadm crash... HELP...

    all the drives are present and no issues. What I'm saying the other drives were part of the same raid and now 3 of them are in "removed" state and mdadm keep saying "does not appear to be an md device"

  6. #6
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: mdadm crash... HELP...

    Can you see the partition types on sdc and are they RAID?

    If they are, it maybe just a glitch that caused the partitions to be kicked out of the arrays. (I had a RAID1 array desync on me once and it seems it was a SATA controller glitch.) Try to reassemble the arrays then. You'll need to consult a mdadm manual for this. Maybe there's a way to do it in YaST from a rescue disk, but I never looked into that.

  7. #7

    Default Re: mdadm crash... HELP...

    the issue is not only with sdc. I have 3 drive in the same state
    I have try to reassemble and keep say that the other 3 drives are not md devices.
    Why I'm seeing "removed" in the 3 devices?
    Why I can't put those back in the raid 5?
    Any idea?

  8. #8
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: mdadm crash... HELP...

    Well check sdd and sde also to see if they are detected, working and have valid RAID partitions then. Maybe you had a controller glitch or failure.

  9. #9

    Default Re: mdadm crash... HELP...

    I'm seeing all the drives with no issues
    Any idea why only 2 of 5 drives being recognized by mdadm?
    Can I force this to be recognized?
    Thanks a lot
    root@nfs:~# mdadm -A --uuid=a8218870:64885bf0:e9110788:09b4438a /dev/md0
    mdadm: metadata format 00.90 unknown, ignored.
    mdadm: /dev/md0 assembled from 2 drives - not enough to start the array.

  10. #10
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: mdadm crash... HELP...

    My understanding is that once an array element is kicked out of the array, you have to intervene and repair the array, it doesn't happen automatically.

    Software RAID comes with more responsibilities for the maintainer. If a server is to be overseen by non-techie people and has to stay up, I normally recommend hardware RAID.

Page 1 of 2 12 LastLast

Posting Permissions

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