RAID 5 lost...

  • Hi,


    after having problem to expand my array over 16TB, i need your help because my array dissapear suddenly....


    I don't see anything in RAID management tab (it's all blank) and in the Files system tab my array is in missing status



    i give you the result of a few command :


    Code
    root@Nargothrond:/# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md0 : inactive sdc[0] sdg[6] sdb[3] sda[2] sdd[1]
          19534437560 blocks super 1.2
    
    
    unused devices: <none>


    Code
    root@Nargothrond:/# blkid
    /dev/sdd: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="1ee4906c-683d-0cd6-2df0-52d20901909e" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"
    /dev/sdc: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="0fc4e0ac-cd67-9850-f126-75ed9f9cf298" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"
    /dev/sdb: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="ebd36359-5e0e-8c9d-5f64-4d1420c6570a" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"
    /dev/sdf: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="561f79c0-8cc6-1752-0710-5781ee286299" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"
    /dev/sde: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="e871d98d-4ef4-b8af-6477-cd800a264f63" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"
    /dev/sda: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="306ec1bc-d600-5b60-b7d3-0657aedace89" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"
    /dev/sdh1: UUID="ebc73117-16ef-470d-a382-a7cac529b860" TYPE="ext4"
    /dev/sdh5: UUID="fe6641d7-e000-426d-9b14-713bd10fb126" TYPE="swap"
    /dev/sdg: UUID="749b5b24-6d08-df26-bc27-d4f5145d2096" UUID_SUB="8ec51490-1f8b-c237-8f6d-af5105f5b5c5" LABEL="Nargothrond:raid5" TYPE="linux_raid_member"




    Code
    root@Nargothrond:/# mdadm --detail --scan --verbose
    ARRAY /dev/md0 level=raid5 num-devices=7 metadata=1.2 name=Nargothrond:raid5 UUID=749b5b24:6d08df26:bc27d4f5:145d2096
       devices=/dev/sdc,/dev/sdd,/dev/sda,/dev/sdb,/dev/sdg



    Can anyone help me to recover my array ?

    • Offizieller Beitrag

    mdadm --stop /dev/md0
    mdadm --assemble /dev/md127 /dev/sd[abcdefg] --verbose --force


    post output of cat /proc/mdstat after all that.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • this is the ouptput after the two commands :

    Code
    root@Nargothrond:/# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md127 : active (auto-read-only) raid5 sdc[0] sdg[6] sdf[5] sdb[3] sda[2] sdd[1]
          23441323008 blocks super 1.2 level 5, 512k chunk, algorithm 2 [7/6] [UUUU_UU]
    
    
    unused devices: <none>


    In the Raid management tab, the array magically appears now with a "clean, degraded" status.



    here's the detail of the array in the webUI



    I suppose that i lost a disk ? is this the sde ?

    • Offizieller Beitrag

    When you executed the assemble command, it probably would have said something about sde. It is still showing up in fdisk so I don't think it has failed.


    Try: mdadm --readwrite /dev/md127
    If that works, let it resync and then: update-initramfs -u

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • I tried the first command. Nothing happens but in the webUI, i have this in the raid management tab :



    How long does it take to sync ? same time that when i add a disk ?


    EDIT : does it really resync ?
    when i use the command : "cat /proc/mdstat", it's the same result as my previous post. There is no progression bar and resync display...


    RE EDIT : I tried again this command mdadm --readwrite /dev/md127 and the result is mdadm: failed to set writable for /dev/md127: Device or resource busy....
    I don't know what to do now... Do i have to replace the disk ? Can i try to recover the array with some command lines ?

  • Hi,
    I tried again to assemble my array. this is the output :



    I have a problem with sde.

    • Offizieller Beitrag

    Try:


    mdadm --zero-superblock /dev/sde


    Then add it to the array again using the web interface (raid section - use recover button).

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Hi,


    my array is recoreving, i just have to wait 9 hours to be sure that my data will be there.


    Thank you !!



    EDIT : it's all right !! My array is clean after 9h of recovering. All my datas are here !! thank you very much for helping me :thumbup:

Jetzt mitmachen!

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