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

Thread: mdadm woes

  1. #11
    Join Date
    Jul 2009
    Location
    San Diego
    Beans
    102

    Re: mdadm woes

    Quote Originally Posted by datarhythm View Post
    No problem

    I don't know why I thought creating this in 'general help' would have been better, but this is the snippets from my nfs_repair output.

    FYI, I tried both the xfsprogs out in the repositories (v2 I think) and the latest and greatest (v3.0.1).
    The guys over in the linux forums are pretty sharp when it comes to server/raid issues, maybe give them a shot: http://www.linuxforums.org/

    & maybe post in Debian as well as Ubuntu,
    I think there are more Debian server admins in general than Ubuntu so they may be able to offer more help
    Good Luck

  2. #12
    Join Date
    Feb 2008
    Beans
    18

    Re: mdadm woes

    OK. So I think I know what happened (to the XFS that is).

    Remember when I said:

    "this is probably going to be one of those moments in my life that I think back and say 'what the hell was I thinking?'"

    Well, I pretty sure I was spot on on my prediction. You see, when you build a RAID5 array, and you specify the order of the devices in which you build the array (/dev/sdb1, /dev/sdc1, etc), the ORDER is VERY IMPORTANT. So when I had did mdadm -C (blah blah), I should have put the exact order in which my original output was. If you can scroll back on that specific command I submitted, you'll see that it wasn't in the correct order.

    So it wasn't that XFS got corrupted, I had just re-arranged the bits around such that XFS said "WTF?"

    Story of my life.

    The moral of the story, kids: Copy down the order in which you create a RAID5 array. At least I'm pretty sure that's what happened.

    Needless to say, my data is gone. I can't 'rearrange' again to the proper order--already too late. And I don't have $2,500 lying around to get it repaired.

  3. #13
    Join Date
    Jan 2008
    Location
    Santa Cruz, CA
    Beans
    147
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: mdadm woes

    Quote Originally Posted by datarhythm View Post
    I should have put the exact order in which my original output was. If you can scroll back on that specific command I submitted, you'll see that it wasn't in the correct order.
    Will just confirm this. When you assemble it doesn't matter (there is a superblock that tells mdadm what order) but when you recreate it must be in the same order as you originally created the array.

    see http://osdir.com/ml/linux-raid/2009-06/msg00165.html for additional confirmation. glad your data is safe. (will remember this for when my raid array dies)

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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