Recover Destroyed RAID5 using mdam

  • Hello everybody!


    I'm in big trouble and fear of losing everything^^:


    My logical RAID 5 is not detected anymore in OMV:
    I can only see separate disks under "disks":


    My disks are /dev/sdc/dev/sdd /dev/sde /dev/sdf


    Anything i can do to recover my RAID and datas? :-)

  • Thnks for this: missed it: all my apologies:


    1:

    Code
    Command (m for help): ^C
    root@nas:~# cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md127 : inactive sdf[4](S) sdd[7](S) sde[6](S) sdc[5](S)
    11720548192 blocks super 1.2




    2:

    Code
    root@nas:~# blkid
    /dev/sda1: UUID="96bc4db4-c752-40ca-8b74-70d3a81e3148" TYPE="ext4" PARTUUID="7ec649cb-01"
    /dev/sda5: UUID="bd8c27fa-ebfc-4ae7-b101-90a099755c47" TYPE="swap" PARTUUID="7ec649cb-05"
    /dev/sdb2: LABEL="Seagate Backup Plus Drive" UUID="A67487B1748782B3" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="1d595348-aa6d-4331-b86b-20abfd08e5da"
    /dev/sdc: UUID="14b30c45-d415-83ce-9f24-34002fc3499b" UUID_SUB="fd82e71d-3d5f-72ca-2ba0-7e33164a7a13" LABEL="OMV:Raid1" TYPE="linux_raid_member"
    /dev/sdd: UUID="14b30c45-d415-83ce-9f24-34002fc3499b" UUID_SUB="b25e373b-6319-e8cb-71d3-4140c29b1d5c" LABEL="OMV:Raid1" TYPE="linux_raid_member"
    /dev/sde: UUID="14b30c45-d415-83ce-9f24-34002fc3499b" UUID_SUB="d9abefd5-ca45-0aa6-eefb-31ec8f66bbcd" LABEL="OMV:Raid1" TYPE="linux_raid_member"
    /dev/sdf: UUID="14b30c45-d415-83ce-9f24-34002fc3499b" UUID_SUB="c5f5e360-33f4-dc2f-b8b7-721672dc9656" LABEL="OMV:Raid1" TYPE="linux_raid_member"
    /dev/sdb1: PARTLABEL="Microsoft reserved partition" PARTUUID="6ab46b18-2378-4e34-8b3e-0cbb315be203"

    3:

    4:


    Code
    mdadm: Unknown keyword INACTIVE-ARRAY
    INACTIVE-ARRAY /dev/md127 num-devices=4 metadata=1.2 name=OMV:Raid1 UUID=14b30c45:d41583ce:9f243400:2fc3499b
    devices=/dev/sdc,/dev/sdd,/dev/sde,/dev/sdf
  • mdadm --stop /dev/md127
    mdadm --assemble --verbose --force /dev/md127 /dev/sd[fdec]


    post output of: cat /proc/mdstat
    If that looks ok, then omv-mkconf mdadm

    omv 6.0.5-2 Shaitan | 64 bit | 5.13 proxmox kernel | omvextrasorg 6.0.4 | kvm plugin 6.0
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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