HELP,Please! RAID1 Delete, Flie Systems Delete,How Can I Get My Data Back?

  • At the begining, sdc & sdd was raid1.



    I made a mistake for deleting raid1 in RAID Management and unmout sdc & sdd in File Systems.



    Please, tell me How Can I Get My Data Back?


    Could i directly create a file system by sdc or sdd?

    • Offizieller Beitrag

    What is the output of: blkid

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

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


    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!

    • Offizieller Beitrag

    How about:
    fdisk -l
    mdadm -Evs /dev/sd[cd]

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

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


    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!

  • How about:
    fdisk -l
    mdadm -Evs /dev/sd[cd]





    Code
    mdadm -Evs /dev/sd[cd]
    
    
    no reaction
    • Offizieller Beitrag

    I'm afraid your only option is to use a recovery tool like photorec. If you install openmediavault-backup, the last tab is photorec.

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

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


    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!

    • Offizieller Beitrag

    Yes because it installs photorec which can restore deleted files. You will need a drive to copy the undeleted files to. Because sdc and sdd are the same (raid 1), you could format, mount, and create a shared folder on one of them.

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

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


    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!

  • Yes because it installs photorec which can restore deleted files. You will need a drive to copy the undeleted files to. Because sdc and sdd are the same (raid 1), you could format, mount, and create a shared folder on one of them.



    sda have 280GB free space, the data in sdc$sdd only 150GB, can i just copy the undeleted files to sda?

    • Offizieller Beitrag

    The plugin makes you use a shared folder. If you can put a shared folder on that drive, then yes.

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

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


    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!

  • Yes because it installs photorec which can restore deleted files. You will need a drive to copy the undeleted files to. Because sdc and sdd are the same (raid 1), you could format, mount, and create a shared folder on one of them.




    and "Files will be recovered only from the free space."


    i should not pick this one?

    • Offizieller Beitrag

    I wouldn't have added it to the plugin if it wasn't :) And don't worry, it doesn't write anything to the drive. It just tries to recover deleted files. You may be disappointed with the names it gives the deleted files though.


    This does prove the importance of backups though and raid is not a backup.

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

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


    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!

  • I wouldn't have added it to the plugin if it wasn't :) And don't worry, it doesn't write anything to the drive. It just tries to recover deleted files. You may be disappointed with the names it gives the deleted files though.


    This does prove the importance of backups though and raid is not a backup.


    i mean the data on sdc$sdd have not been deleted, is that OK?

    • Offizieller Beitrag

    Technically, the data has been deleted. The filesystem journal was deleted. That is why photorec doesn't know the filenames. It just searches for patterns (which you select in the plugin). If it finds a pattern, it saves that as a recovered file. You can read more about here. I've used it many times with good success rates.

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

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


    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!

    • Offizieller Beitrag

    I wouldn't have added it to the plugin if it wasn't :) And don't worry, it doesn't write anything to the drive. It just tries to recover deleted files. You may be disappointed with the names it gives the deleted files though.


    This does prove the importance of backups though and raid is not a backup.


    It's also a perfect example of individuals thinking that raid1 is some sort of backup. It may be OK an OS filesystem.. but to me, it's not smart at all for drives that hold data..

  • Thats why I advice everybody to use rsync instead of RAID1. ;)


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

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