raid 5 array missing after 1 disk error

  • Hi everybody !

    i had trouble to rebuild my raid 5 after a mistake from mine on the nas

    just for a quick explanation : i have a omv vm into proxmox, one time i did install a windows into another ssd without unplugging my 3 hdd used into my omv raid 5

    the installation create a ntfs partition on sdb then my raid was **** up, my fault.

    what i did : i detached sdb to recover some data but there is no more access to file system,

    i reformate the sdb disk, allowed it to omv again but on raid menu only sdb is available, the two other seems not available even if they can be still seen on disk menu

    i think it's just stupid configuration missing somewhere or command to do but i don't want to play with fire without any advices

    disk : ironwolf red 4tb x3

    for some command i found here is

    thx for any help !


    cat /proc/mdstat

    Code
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md0 : inactive sdc[1](S) sdd[2](S)
          7813724160 blocks super 1.2

    blkid

    Code
    /dev/sr0: BLOCK_SIZE="2048" UUID="2023-07-24-10-07-42-00" LABEL="openmediavault 20230724-12:07" TYPE="iso9660" PTUUID="fb4aed61" PTTYPE="dos"
    /dev/sda1: UUID="0b0cb9fb-ebc6-48d2-941d-1da1c8bd8a06" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="c5600119-01"
    /dev/sda5: UUID="46897158-dd1a-4ec1-a81d-5608b0ceb88d" TYPE="swap" PARTUUID="c5600119-05"
    /dev/sdc: UUID="584d7feb-b031-c2e3-14b2-b2b17e730d84" UUID_SUB="7c90c282-d65f-11ea-6654-ed665c55059a" LABEL="OMVNAS:0" TYPE="linux_raid_member"
    /dev/sdd: UUID="584d7feb-b031-c2e3-14b2-b2b17e730d84" UUID_SUB="cc9915a5-0581-aac8-8864-397bfdac9391" LABEL="OMVNAS:0" TYPE="linux_raid_member"

    fdisk -l | grep "Disk "

    Code
    Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 sectors
    Disk model: QEMU HARDDISK
    Disk identifier: 0xc5600119
    Disk /dev/sdb: 3,64 TiB, 4000762036224 bytes, 7813988352 sectors
    Disk model: QEMU HARDDISK
    Disk /dev/sdc: 3,64 TiB, 4000762036224 bytes, 7813988352 sectors
    Disk model: QEMU HARDDISK
    Disk /dev/sdd: 3,64 TiB, 4000762036224 bytes, 7813988352 sectors
    Disk model: QEMU HARDDISK

    cat /etc/mdadm/mdadm.conf

    mdadm --detail --scan --verbose

    Code
    INACTIVE-ARRAY /dev/md0 num-devices=2 metadata=1.2 name=OMVNAS:0 UUID=584d7feb:b031c2e3:14b2b2b1:7e730d84
       devices=/dev/sdc,/dev/sdd

    mdadm --examine /dev/sdb

    Code
    mdadm: No md superblock detected on /dev/sdb.
  • chente

    Approved the thread.

Participate now!

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