Is my Software Raid 1 Working?

Discussion in 'Site & Server Administration' started by vahing, Apr 16, 2013.

  1. #1
    I am running two commands on my server console to make sure the software RAID is 100% working. mdadm --detail /dev/mdX and cat /proc/mdstat

    Below the output of these commands. I would appreciate if someone could confirm that all is really OK with my RAID 1. Thank you!


    root@server [~]# mdadm --detail /dev/md0
    /dev/md0:
    Version : 1.0
    Creation Time : Tue Oct 2 16:45:53 2012
    Raid Level : raid1
    Array Size : 524276 (512.07 MiB 536.86 MB)
    Used Dev Size : 524276 (512.07 MiB 536.86 MB)
    Raid Devices : 2
    Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Mon Apr 15 00:23:01 2013
    State : clean
    Active Devices : 2
    Working Devices : 2
    Failed Devices : 0
    Spare Devices : 0

    UUID : f8e20699:8505d1df:dd6db30b:5e5620bd
    Events : 103

    Number Major Minor RaidDevice State
    0 8 1 0 active sync /dev/sda1
    1 8 17 1 active sync /dev/sdb1
    root@server [~]#




    root@server [~]# mdadm --detail /dev/md1
    /dev/md1:
    Version : 1.1
    Creation Time : Tue Oct 2 16:45:55 2012
    Raid Level : raid1
    Array Size : 975186812 (930.01 GiB 998.59 GB)
    Used Dev Size : 975186812 (930.01 GiB 998.59 GB)
    Raid Devices : 2
    Total Devices : 2
    Persistence : Superblock is persistent

    Intent Bitmap : Internal

    Update Time : Wed Apr 17 07:01:43 2013
    State : active
    Active Devices : 2
    Working Devices : 2
    Failed Devices : 0
    Spare Devices : 0

    UUID : 681911b7:90132486:17358d26:3966cf6e
    Events : 143950

    Number Major Minor RaidDevice State
    0 8 3 0 active sync /dev/sda3
    1 8 19 1 active sync /dev/sdb3
    root@server [~]#


    root@server [~]# cat /proc/mdstat

    Personalities : [raid1]
    md0 : active raid1 sda1[0] sdb1[1]
    524276 blocks super 1.0 [2/2] [UU]

    md1 : active raid1 sda3[0] sdb3[1]
    975186812 blocks super 1.1 [2/2] [UU]
    bitmap: 7/8 pages [28KB], 65536KB chunk

    unused devices: <none>
    root@server [~]#
     
    vahing, Apr 16, 2013 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #2
    Looking at the output you have pasted above, the RAID is working properly for it. Don't see any issues here though.
     
    MilesWeb, Apr 17, 2013 IP
  3. TiffanyJ.SSS

    TiffanyJ.SSS Member

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    33
    #3
    Looks to be running just perfectly =)
     
    TiffanyJ.SSS, Apr 18, 2013 IP