Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: mdadm crash... HELP...

  1. #11

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

    I have troubleshoot mdadm in the past, (assemble, grow, monitor, replace drives, and other general troubleshoot), actually I migrate from ubuntu to opensuse with no issue.
    I consider my self a techie guy, This has been running with no issue for the last 2 years and half
    What happen in this one is very strange. I have 3 drive removed drives with no apparent hardware failure, any advice?
    Any general guidelines for deep troubleshoot or recovery?

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

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

    You can't generalise from one incident. Maybe you were unlucky today. It may never happen again. Just repair it and move on. On the other hand if it happens regularly...

  3. #13

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

    How can I repair it? Any advice?
    If I run mdadm -E /dev/sdX (X is any of the drive that are removed from the raid 5) I get this

    mdadm -E /dev/sdc
    mdadm: metadata format 00.90 unknown, ignored.
    /dev/sdc:
    Magic : a92b4efc
    Version : 00.90.00
    UUID : a8218870:64885bf0:e9110788:09b4438a
    Creation Time : Sun Mar 15 03:49:03 2009
    Raid Level : raid5
    Used Dev Size : 976762368 (931.51 GiB 1000.20 GB)
    Array Size : 3907049472 (3726.05 GiB 4000.82 GB)
    Raid Devices : 5
    Total Devices : 5
    Preferred Minor : 0

    Update Time : Sat Nov 20 12:22:15 2010
    State : clean
    Active Devices : 4
    Working Devices : 4
    Failed Devices : 1
    Spare Devices : 0
    Checksum : 79b3e1a6 - correct
    Events : 1715280

    Layout : left-symmetric
    Chunk Size : 512K

    Number Major Minor RaidDevice State
    this 2 8 32 2 active sync /dev/sdc

    0 0 8 0 0 active sync /dev/sda
    1 1 8 16 1 active sync /dev/sdb
    2 2 8 32 2 active sync /dev/sdc
    3 3 8 48 3 active sync /dev/sdd
    4 4 0 0 4 faulty removed

    How can I repair it? or put this drives back in the raid?
    Thanks

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

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

    Well you must have done something to put sdc and sdd back in the array so do the same thing for sde.

  5. #15

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

    sdc and sdd are not part of the array anymore, the last output was from the mdadm --examine.
    I'm looking for someone that know mdadm.. any help?

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

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

    So this output is not the current situation?

    Code:
    0 0 8 0 0 active sync /dev/sda
    1 1 8 16 1 active sync /dev/sdb
    2 2 8 32 2 active sync /dev/sdc
    3 3 8 48 3 active sync /dev/sdd
    4 4 0 0 4 faulty removed
    Did you try a re-add of sde from mdadm?

  7. #17

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

    no, that is not the current situation.
    Every time I want to add any of the 3 drives I get "does not appear to be an md device"

    This is my current situation
    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

    For more information, please read the complete thread
    Thanks

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

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

    Sorry, that's too weird and something I haven't encountered before. Try a web search on that message. Personally I still think you have some sort of filesystem damage on sdc which makes it impossible to proceed further.

  9. #19

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

    ok... Suppouse we take sdc out of the ecuation. I can take it out of the server. ( I have tried anyway)
    What do you mean with proceed further? What is the next step for recovery?
    I can start a degradated array with 4 disk, the issue here is I have only 2 and 3 "removed". How can put a "removed" disk back?
    I have tried to mdadm --manage --add and didn't work?
    Thanks

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

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

    Perhaps you need to mark it failed first with mdadm before you can add it back? Just guessing.

Page 2 of 2 FirstFirst 12

Posting Permissions

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