RAID missing after power loss, Filesystem missing, drives appear physically fine.

  • So, the maintenance man flipped the breaker for my server a couple times and now it's showing my RAID is missing, Filesystem missing, no docker containers etc. All physical drives seem present and in the same S.M.A.R.T. status as prior. My RAID is comprised of 8 drives from 3-4TB each I believe mostly WD RED. Please help, here's some info...


    OMV Version 4.1.36-1 (Arrakis)

    Kernel Linux 4.19.0-0.bpo.5-adm64


    cat /proc/mdstat

    Code
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md127 : inactive sdd[2](S) sde[3](S) sdf[4](S) sdh[6](S) sdg[5](S) sdb[0](S) sdc[1](S) sdi[7](S)
          27348092096 blocks super 1.2
    
    unused devices: <none>

    blkid

    Code
    /dev/sdc: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="effbe3bc-5f42-a033-5487-3f2176f0aee8" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sdb: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="4085663a-16fe-808f-5a4b-ae78ccc363cb" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sde: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="3ce7fc1c-49ee-36d6-2f15-54490b61035c" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sdg: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="0eed12b6-0b6a-8c55-2641-997d4efce8f3" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sdd: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="cc3b9da4-6d1a-7b84-4bcd-a80659992f13" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sdf: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="3e4a029d-1288-4d5e-2452-ded3be529ab3" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sdh: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="08ffdd39-f6f0-3960-c1da-f5f06bd76bc3" LABEL="roycenas:mega" TYPE="linux_raid_member"
    /dev/sda1: UUID="c8729106-575d-4a37-a287-c2d1b085c266" TYPE="ext4" PARTUUID="fa803c34-01"
    /dev/sda5: UUID="c0e312be-8d8d-41e6-8f72-3d066dd5ca2e" TYPE="swap" PARTUUID="fa803c34-05"
    /dev/sdi: UUID="52229114-1538-a954-7275-5dada6e0d75b" UUID_SUB="24bafcde-6a19-1c99-4011-721dc5c16020" LABEL="roycenas:mega" TYPE="linux_raid_member"

    fdisk -l | grep "Disk "

    Code
    Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk /dev/sde: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
    Disk /dev/sdg: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
    Disk /dev/sdd: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk /dev/sdf: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
    Disk /dev/sdh: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk /dev/sda: 110.8 GiB, 118999744512 bytes, 232421376 sectors
    Disk identifier: 0xfa803c34
    Disk /dev/sdi: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors

    cat /etc/mdadm/mdadm.conf

    mdadm --detail --scan --verbose

    Code
    INACTIVE-ARRAY /dev/md127 num-devices=8 metadata=1.2 name=roycenas:mega UUID=52229114:1538a954:72755dad:a6e0d75b
       devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde,/dev/sdf,/dev/sdg,/dev/sdh,/dev/sdi
  • rezendes

    Hat das Label OMV 4.x hinzugefügt.
  • rezendes

    Hat den Titel des Themas von „Breaker flipped a couple times, now RAID missing, Filesystem missing, drives appear fine.“ zu „RAID missing after power loss, Filesystem missing, drives appear physically fine.“ geändert.
  • Well it's pretty quiet here for some reason but I finally found a solution and restored my RAID, here are the commands in case someone else runs into a similar problem.


    mdadm --stop /dev/md127

    mdadm --assemble /dev/md127 /dev/sd[bcdefghi] --verbose --force


    After this one of my drives showed (removed) so I just added it back with this command.

    mdadm --add /dev/md127 /dev/sdf

  • rezendes

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!