Raid1 split clean/degraded

  • Hi all
    After last night weekly reboot, today I've got a split clean/degraded raid.
    I think I didn't built it good at start, and now I've got this trouble.
    Any help will be welcome.


    There's my outputs


    Code
    root@omv:~# blkid
    /dev/sda1: UUID="ae5367fc-cb91-4e2f-959f-89ca2761b302" TYPE="ext4" LABEL="RAID2"
    /dev/sdb1: UUID="9cc05082-eb0c-81a3-8a6d-e2b38bff6c7f" UUID_SUB="fe67fb12-b7c9-b007-6e7f-4009e9a7c0e6" LABEL="omv:0" TYPE="linux_raid_member"
    /dev/sdc1: LABEL="Media" UUID="a915c5d4-d6f3-4a46-a93f-ed2cc30bd4ec" TYPE="ext4"
    /dev/sdd1: LABEL="3TB" UUID="865844eb-d9c4-427f-badd-d57a09a652bc" TYPE="ext4"
    /dev/sde1: LABEL="3TB" UUID="ce82cbd6-c5ef-494a-8cf3-0c09fd23abd0" TYPE="ext4"
    /dev/sde2: LABEL="MP3" UUID="43b40d65-511f-4c9b-9995-ae28c6ee5b5a" TYPE="ext4"
    /dev/md0: LABEL="RAID" UUID="9d2b7b1d-50fc-4400-9a17-8033849fa72e" TYPE="ext4"
    /dev/md127: LABEL="RAID" UUID="9d2b7b1d-50fc-4400-9a17-8033849fa72e" TYPE="ext4"


    Code
    root@omv:~# mdadm --detail --scan --verbose
    ARRAY /dev/md/0 level=raid1 num-devices=2 metadata=1.2 name=omv:0 UUID=9cc05082:eb0c81a3:8a6de2b3:8bff6c7f
       devices=/dev/sda1
    mdadm: cannot open /dev/md/0_0: No such file or directory

    omv 6.3.8-1 Shaitan | 64 bit | omvextrasorg 6.2.1
    Intel Core2Duo @ 2.33 GHz

  • Tried this

    Code
    root@omv:~# mdadm --stop /dev/md127                                                                                                                                                                                            
    mdadm: stopped /dev/md127
    Code
    root@omv:~# mdadm --zero-superblock /dev/sdb                                                                                                                                                                                   
    mdadm: Unrecognised md component device - /dev/sdb

    So, I'm stuck...


    Any help? Again?

    omv 6.3.8-1 Shaitan | 64 bit | omvextrasorg 6.2.1
    Intel Core2Duo @ 2.33 GHz

    • Offizieller Beitrag

    The problem is your array is using partitions (you didn't create with OMV). You want to zero the superblock on the partition instead of the entire disk. mdadm --zero-superblock /dev/sdb1

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks a lot!


    Finally, I've rebuilt the array by wiping one disk at time, no partition, recover raid. Seems works ok now.


    Thanks again for your time helping the community!




    PD: Should mark this thread as Solved?

    omv 6.3.8-1 Shaitan | 64 bit | omvextrasorg 6.2.1
    Intel Core2Duo @ 2.33 GHz

    • Offizieller Beitrag

    Yep, I would add the Resolved tag.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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