Find the answer to your Linux question:
Results 1 to 5 of 5
Hi All I am running an ubuntu server for storage with a raid 5 array currently consisting of 7 drives. I noticed today that there were some performance problems and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5

    MDADM Active, degraded


    Hi All

    I am running an ubuntu server for storage with a raid 5 array currently consisting of 7 drives.

    I noticed today that there were some performance problems and so had a look at the array. mdadm reports the array as "active, degraded"

    mdadm -D as below



    Version : 00.90
    Creation Time : Thu Aug 19 14:23:02 2010
    Raid Level : raid5
    Array Size : 8790822528 (8383.58 GiB 9001.80 GB)
    Used Dev Size : 1465137088 (1397.26 GiB 1500.30 GB)
    Raid Devices : 7
    Total Devices : 7
    Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Jul 3 01:40:33 2011
    State : clean, recovering
    Active Devices : 7
    Working Devices : 7
    Failed Devices : 0
    Spare Devices : 0

    Layout : left-symmetric
    Chunk Size : 64K

    Rebuild Status : 2% complete

    UUID : 7d949c68:77a72ebb:c05ac76e:5ea0fe71
    Events : 0.54628

    Number Major Minor RaidDevice State
    0 8 1 0 active sync /dev/sda1
    1 8 17 1 active sync /dev/sdb1
    2 8 33 2 active sync /dev/sdc1
    3 8 49 3 active sync /dev/sdd1
    4 8 80 4 active sync /dev/sdf
    5 8 64 5 active sync /dev/sde
    6 8 96 6 active sync /dev/sdg

    Basically im trying to figure out whats happened, to me it looks as though no drives have failed, is it still redundant, what could have caused this?

    Thanks

    DJH

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by djh82uk View Post
    Rebuild Status : 2% complete
    Basically im trying to figure out whats happened, to me it looks as though no drives have failed, is it still redundant, what could have caused this?

    Thanks

    DJH

    You are correct it looks like all drives are working. The bit quoted above tell me that it is rebuilding and isn't complete. So it either thinks that something failed or something did fail and then come back to life.

    Run the following command on the raid
    Code:
    /sbin/mdadm --detail /dev/md#
    and post the output.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5
    Hiya

    Where should that be run from?

    Thanks

    DJH

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5
    Ignore my last post, was being stupid.

    Info as below


    Version : 00.90
    Creation Time : Thu Aug 19 14:23:02 2010
    Raid Level : raid5
    Array Size : 8790822528 (8383.58 GiB 9001.80 GB)
    Used Dev Size : 1465137088 (1397.26 GiB 1500.30 GB)
    Raid Devices : 7
    Total Devices : 7
    Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Jul 3 16:22:27 2011
    State : clean
    Active Devices : 7
    Working Devices : 7
    Failed Devices : 0
    Spare Devices : 0

    Layout : left-symmetric
    Chunk Size : 64K

    UUID : 7d949c68:77a72ebb:c05ac76e:5ea0fe71
    Events : 0.54632

    Number Major Minor RaidDevice State
    0 8 1 0 active sync /dev/sda1
    1 8 17 1 active sync /dev/sdb1
    2 8 33 2 active sync /dev/sdc1
    3 8 49 3 active sync /dev/sdd1
    4 8 80 4 active sync /dev/sdf
    5 8 64 5 active sync /dev/sde
    6 8 96 6 active sync /dev/sdg

    As you can see it has finished now and seems to be ok, although am still seeing performance issues with the machine in general compared to last week.

    Thanks

    DJH

  6. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Not sure what they could be.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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