Cannot mound raid after reinstall

  • Hello there,


    I face an issue that make me nervous.

    I was using OMV5 until four days ago. Then I started to have some issues with no space available on disk for docker and after some trials it was working but I think slower than before.

    Two days later, it was really slow for everything and the reverse proxy that I used to have on it wasn't responding most of the time.

    I decided then to reinstall OMV with a fresh install.

    Once it was reinstalled, the RAID wasn't recognize because of an issue with one of the disk. Then I made a wipe of that disk and I was able to rebuild the RAID5.


    After two days of resync, the RAID is not in state clean. My issue now is that I cannot mount it because it is not in file system and if I want to create a new one with the RAID it ask me to format it but I still have all my datas on it that I don't want to lose.


    Is there anyone to help please ?

  • to follow what I could have seen on different subject here are results on different commands :


    cat /proc/mdstat

    Code
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active (auto-read-only) raid5 sdd[2] sdc[1] sdb[0]
    5860268032 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
    bitmap: 0/22 pages [0KB], 65536KB chunk
    unused devices: <none>


    blkid

    Code
    /dev/sdb: UUID="924d38d8-fecc-e75e-654f-9379b1a9e7d1" UUID_SUB="9a2acb5c-1177-66fc-1d39-adeff118dffa" LABEL="Serveur:NASData" TYPE="linux_raid_member"
    /dev/sdc: UUID="924d38d8-fecc-e75e-654f-9379b1a9e7d1" UUID_SUB="56138d00-7fe4-a6c9-9b30-276862295417" LABEL="Serveur:NASData" TYPE="linux_raid_member"
    /dev/sda1: UUID="04ca02fe-0dff-494f-989d-dd6be1a2c45f" TYPE="ext4" PARTUUID="649c6604-01"
    /dev/sda5: UUID="4b0360fe-eff6-4e78-aa11-846f8b97f368" TYPE="swap" PARTUUID="649c6604-05"
    /dev/sdd: UUID="924d38d8-fecc-e75e-654f-9379b1a9e7d1" UUID_SUB="bf1f4d56-adc6-dd5e-c32a-70fa08966f09" LABEL="Serveur:NASData" TYPE="linux_raid_member"


    fdisk -l | grep "Disk "

    Code
    Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk model: ST3000VN000-1HJ1
    Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk model: ST3000VN000-1HJ1
    Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
    Disk model: KINGSTON SV300S3
    Disk identifier: 0x649c6604
    Disk /dev/md127: 5.5 TiB, 6000914464768 bytes, 11720536064 sectors
    Disk /dev/sdd: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk model: ST3000VN000-1HJ1


    cat /etc/mdadm/mdadm.conf


    mdadm --detail --scan --verbose

    Code
    ARRAY /dev/md127 level=raid5 num-devices=3 metadata=1.2 name=Serveur:NASData UUID=924d38d8:fecce75e:654f9379:b1a9e7d1
    devices=/dev/sdb,/dev/sdc,/dev/sdd
  • Okay I made it and it seems that it added a filesystem in /dev/sde. I looked at it quickly but I will take a better look if it is now okay or if something still missing. Thank you for your help

  • Okay I made it and it seems that it added a filesystem in /dev/sde

    Sorry I'm confused by the above, your array has 3 drives, dev/sd[bcd] in your first image the raid is clean with those 3 drives but it doesn't show in File Systems due to the auto-read-only, the command I posted should correct that.

  • Code
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active raid5 sdd[2] sdc[1] sdb[0]
    5860268032 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
    bitmap: 0/22 pages [0KB], 65536KB chunk
    unused devices: <none>
  • I would like to have access to the files on it but the file system on OMV isn't there and it seems that I have to create a new one but then it will erase all my datas before. I don't know what happened because I already made new install before without losing anything. :(


  • Thank you for your help, you look like a 24/7 helper that's crazy ^^

  • What do you mean, do one thing at a time ?

Participate now!

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