RAID5 vanishes from system

  • Hi,
    Could help me getting back my raid5 array up and running : my issue is similar to the other thread but I cannot get it to work and I cannot lose my data(kids photos)!


    Scenario :
    running lastest
    raid 5, 4 disk up and running clean(+ 3 other disk non raid)
    I did change a sata cable to remove a ATA33 error and boot up the machine with an unplgged cable +> result a failed array with 2/4 disk up
    I halt the machine, replugged the cable and rebooted and damn, the raid array has gone


    blkid


    lsmod | grep raid


    /etc/mdadm/mdadm.conf


    cat /proc/mdstat


    /etc/default/mdadm


    /etc/fstabb


    mdadm --detail /dev/md127


    boot extract


    If seems part of the raid array is still there but now mounting nor detected


    Thank you for your help


    Inzeback

  • Hello,


    According to this :

    Code
    /dev/sda: UUID="7ac6251d-aa39-e657-efbb-f6cdb7bca99b" UUID_SUB="20854919-ab30-ecd7-37f8-16182b2d3d7e" LABEL="omv:raid" TYPE="linux_raid_member"
    /dev/sdd: UUID="7ac6251d-aa39-e657-efbb-f6cdb7bca99b" UUID_SUB="e4be9717-891b-1e5f-ec0a-b0225c27d310" LABEL="omv:raid" TYPE="linux_raid_member"
    /dev/sdf: UUID="7ac6251d-aa39-e657-efbb-f6cdb7bca99b" UUID_SUB="1e802b8d-e276-ff02-1bb1-5eaec30f1dc5" LABEL="omv:raid" TYPE="linux_raid_member"
    /dev/sde: UUID="7ac6251d-aa39-e657-efbb-f6cdb7bca99b" UUID_SUB="80e363b7-335a-103e-9c81-e130ef695269" LABEL="omv:raid" TYPE="linux_raid_member"


    and this :

    Code
    Number Major Minor RaidDevice State
    0 8 0 0 active sync /dev/sda
    1 0 0 1 removed
    2 8 48 2 active sync /dev/sdd
    3 0 0 3 removed


    We can assume that your 2 disks whose have disappeared are /dev/sdf and /dev/sde.


    Pease run :

    Code
    mdadm --examine /dev/sdf


    and

    Code
    mdadm --examine /dev/sde


    and check if the line is here :

    Code
    1 0 0 1 faulty removed


    If that is true, your disks are not in active mode in the multiple devices node.
    If so, do the following :


    First, stop your array :

    Code
    mdadm --stop /dev/md127


    and then reassemble it :

    Code
    mdadm -A --force /dev/md127 /dev/sd[fe]

    - ASROCK FM2A88X-ITX+ (SATAIII (6Gb/s) x6 (for the DATA), mSATA x1 (for the OS))
    - AMD A6 7400K 3.5GHz
    - Corsair 2Go DDR3 1333MHz C9 (x2)
    - Intel Corporation 82574L Gigabit Network Connection
    - COOLER MASTER G450M (80+ bronze)
    - WD Red 2To 64Mo 3.5" SATAIII (6Gb/s)
    - 32 Go SSD mSATA KingSpec Half-Size Solid State
    - Fractal Design Node 304 black (HDD 3.5" x6)
    - RAID 5 XFS
    - OMV 4.1.35-1 Arrakis

  • Hi tiste thanks for helping me


    the output of the commands are :
    mdadm --examine /dev/sdf


    mdadm --examine /dev/sde




    Code
    mdadm --stop /dev/md127

    did stop the array OK


    Code
    root@omv:~# mdadm -A --force /dev/md127 /dev/sd[fe]
    mdadm: forcing event count in /dev/sdf(3) from 339 upto 367
    mdadm: clearing FAULTY flag for device 1 in /dev/md127 for /dev/sdf
    mdadm: Marking array /dev/md127 as 'clean'
    mdadm: /dev/md127 assembled from 2 drives - not enough to start the array.


    but the other failed


    Any chance to do more?

  • Ok my bad, reassembling only 2 disks is not enough.
    You should try assembling the whole array with and first of all you can read that https://raid.wiki.kernel.org/index.php/RAID_Recovery :


    Code
    mdadm -A --force /dev/md127 /dev/sd[adfe]

    - ASROCK FM2A88X-ITX+ (SATAIII (6Gb/s) x6 (for the DATA), mSATA x1 (for the OS))
    - AMD A6 7400K 3.5GHz
    - Corsair 2Go DDR3 1333MHz C9 (x2)
    - Intel Corporation 82574L Gigabit Network Connection
    - COOLER MASTER G450M (80+ bronze)
    - WD Red 2To 64Mo 3.5" SATAIII (6Gb/s)
    - 32 Go SSD mSATA KingSpec Half-Size Solid State
    - Fractal Design Node 304 black (HDD 3.5" x6)
    - RAID 5 XFS
    - OMV 4.1.35-1 Arrakis

  • It worked !
    The array is back clean and seen in the UI
    I have mounted the fs and it seems to be all good now.


    Thank you a lot for solving my issue



    Inzeback

  • Nice.
    Happy for you.
    De nada ^^

    - ASROCK FM2A88X-ITX+ (SATAIII (6Gb/s) x6 (for the DATA), mSATA x1 (for the OS))
    - AMD A6 7400K 3.5GHz
    - Corsair 2Go DDR3 1333MHz C9 (x2)
    - Intel Corporation 82574L Gigabit Network Connection
    - COOLER MASTER G450M (80+ bronze)
    - WD Red 2To 64Mo 3.5" SATAIII (6Gb/s)
    - 32 Go SSD mSATA KingSpec Half-Size Solid State
    - Fractal Design Node 304 black (HDD 3.5" x6)
    - RAID 5 XFS
    - OMV 4.1.35-1 Arrakis

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!