Recover datas from a removed RAID5

  • Hi Everyone


    I (really) need to recover files (family pictures) from a "removed" and deleted RAID5... All was migrated on another storage, but due to a "mistake" I've lost files (I had another backup, but was not up to date... at now I've lost 2 years of picture and of course some really important)


    I've search on partition recovery tool side, but upfront my RAID have to be reconstructed, and I don't found how to do.



    I have my server, 4 drives of the 5 drives RAID5 (I gave one to a friend thinking I didn't need it any-more... and now it has been rewrited ;( )


    So, after reconnecting drives and booting the server, disks are visible and filesystem see my RAID5 as missing, but nothing on raid management


    Do you have any step to do to try to "reconstruct" my RAID5 ?


    Thanks in advance for your help :*


    Regards

  • Thanks Geaves


    So:

    Code: cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md127 : inactive sdd[3](S) sdb[5](S) sdc[1](S) sde[2](S)
          7814054240 blocks super 1.2
    
    unused devices: <none>
    Code: blkid
    /dev/sdf1: LABEL="tempo500" UUID="e74d500d-c010-4c97-bbc5-6a903fa33a49" TYPE="ext4" PARTUUID="66d744c1-cc6d-4f9f-9101-dfd80d863995"
    /dev/sde: UUID="566b7e1b-3fa8-f2ce-3d7a-16c96fdc3156" UUID_SUB="7d397245-e75d-aeb6-75ca-f56ccd9e8a81" LABEL="atlas:bigraid" TYPE="linux_raid_member"
    /dev/sdd: UUID="566b7e1b-3fa8-f2ce-3d7a-16c96fdc3156" UUID_SUB="195ab3a1-141b-62d1-dcfe-92de5c35f969" LABEL="atlas:bigraid" TYPE="linux_raid_member"
    /dev/sdc: UUID="566b7e1b-3fa8-f2ce-3d7a-16c96fdc3156" UUID_SUB="86650afb-db7c-93d8-429a-75dbfe69a4ef" LABEL="atlas:bigraid" TYPE="linux_raid_member"
    /dev/sda1: UUID="9802b915-a851-4d89-9c3d-2842cf47b51c" TYPE="ext4" PARTUUID="0a2506e9-01"
    /dev/sda5: UUID="33b829b0-99a1-4f06-b07f-5c3df8a10ea6" TYPE="swap" PARTUUID="0a2506e9-05"
    /dev/sdb: UUID="566b7e1b-3fa8-f2ce-3d7a-16c96fdc3156" UUID_SUB="ce21663c-3acf-ca70-26d9-80d4ebfced98" LABEL="atlas:bigraid" TYPE="linux_raid_member"
    Code: mdadm --detail --scan --verbose
    INACTIVE-ARRAY /dev/md127 num-devices=4 metadata=1.2 name=atlas:bigraid UUID=566b7e1b:3fa8f2ce:3d7a16c9:6fdc3156
       devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde

    Situation recall: It was a RAID5 of 5 disk of 2To each (I still have only 4) that I've removed after migrating my data (and lost those...) So I try to "rebuild" the raid to recover few family photos

    • Offizieller Beitrag

    The array is inactive and it's missing in mdadm.conf if all you are doing is getting data off it then this should bring it back up in a clean/degraded state.


    mdadm --stop /dev/md127


    mdadm --assemble --force --verbose /dev/md127 /dev/sd[bdce]

Jetzt mitmachen!

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