Raid 5 ist nicht mehr da

  • Hallo zusammen,


    bin Anfänger und benötige Hilfe bei meinem Nas-System mit Raid 5 und OMV. Schiebe das Thema schon lange vor mir her.

    Mein NAS funktioniert seit 3 Jahren nicht.... Hat aber davor 2 Jahre super funktioniert. Ich habe damals einen neuen Router bekommen,

    danach war mein NAS über Windows per SMB nicht mehr erreichbar. Musste mich dann per Monitor und Tastatur mit den NAS-Rechner verbinden.

    Kam dann in ein Menü glaube ich mit "First-Aid" oder so. Ob ich darüber eine neue IP für das NAS vergeben habe, weiß ich nicht mehr.

    Seitdem ist das Raid 5 nicht mehr da. Das System erkennt zwar die realen Festplatten, aber das Raid ist weg. Updates und Upgrades gehen seitdem

    auch nicht mehr. Aber als erstes steht die Wiederherstellung vom Raid 5 im Vordergrund. Schon mal Danke für eure Hilfe :)


    Habe die 4 eingebauten Festplatten geklont auf 4 Backup-Festplatten. Hoffe meine Bilder werden richtig dargestellt.

    Nun zu den Informationen, die ihr wahrscheinlich braucht:

    • Official Post

    Suggest to follow this post and provide the output of the mentioned commands in a code box </> each. You can use a ssh session (e.g. with Putty or cmd from Windows) and copy + paste output.



    Feel free to post in German, but the probability of an answer will be bigger if you write in English.

  • Mache ich einfach mal:

  • Code
    root@jensnas:~# blkid
    /dev/sdb: UUID="0b7af678-7799-bab1-7fe4-86319512529c" UUID_SUB="739a8ee7-87cb-fcb0-b824-3716469ae59c" LABEL="openmediavault:0" TYPE="linux_raid_member"
    /dev/sda1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="06955306-6539-4bbe-8e15-7bad6400156a"
    /dev/sdd: UUID="0b7af678-7799-bab1-7fe4-86319512529c" UUID_SUB="43486b9e-7ede-f339-d70d-8cbf8f092d2d" LABEL="openmediavault:0" TYPE="linux_raid_member"
    /dev/sdc: UUID="0b7af678-7799-bab1-7fe4-86319512529c" UUID_SUB="ede8905f-e912-4995-aa40-dedb2bf05fc6" LABEL="openmediavault:0" TYPE="linux_raid_member"
    /dev/sde1: UUID="9001edb6-e469-4655-8f85-5609ae6e4425" TYPE="ext4" PARTUUID="c8b7d06d-01"
    /dev/sde5: UUID="189bc8d7-1c4d-4c51-8efb-3207dac45513" TYPE="swap" PARTUUID="c8b7d06d-05"
    /dev/sda2: PARTUUID="7bdba353-6714-4f74-9af2-6e5d8b157203"
  • We've lost the important part, never mind I've worked out what I need to know from #5 above.


    Your post #5 shows one disk (/dev/sda??) was lost from your array. The good news is that /dev/sdb, /dev/sdc and /dev/sdd have the same "Update Time" (Aktualisierungszeit) and "Events" (Veranstaltungen) count when the array was last working. So, there's a good chance you can re-assmeble the array in a "clean, degraded" state without /dev/sda, but there is no guarantee that the filesystem on the RAID is still intact.


    Please do not reboot your system as the /dev/sdX names might change, and we need them to stay the same as in your last output.


    Also please understand that your proceed entirely at your own risk. I take no responsibility for any data, or other loss, that may occur by following any instructions and/or guidance I post.


    At the CLI:


    1. Attempt to re-assemble the array in a degraded state using this exact command: mdadm --assemble --force /dev/md0 /dev/sdb /dev/sdc /dev/sdd


    2. Assuming no error messages from 1, check the status of array using cat /proc/mdstat as it re-builds.


    3. The re-build could take several hours.


    4. When complete, use this command to see if the filesystem on the MD RAID will mount:  mount -a


    5. If the filesystem mounts you can copy data off the NAS now.

  • Krisbee, erstmal Danke für deine Hilfe. Habe den Befehl ausgeführt. Dann warte ich mal bis morgen.

    In der Ausgabe steht jetzt folgendes:

    Code
    root@jensnas:~# mdadm --assemble --force /dev/md0 /dev/sdb /dev/sdc /dev/sdd
    mdadm: Marking array /dev/md0 as 'clean'
    mdadm: /dev/md0 has been started with 3 drives (out of 4)
  • votdev

    Added the Label resolved

Participate now!

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