Snapraid Harddrive failed during reinstall of OMV

  • I had to reinstall OpenMediaVault and snapraid and during this time it looks like one of my content drives failed. So now one of the drives can not be detected so cant be re added to the snapraid config.Snapraid gives me this error



    disk 'Della' with uuid 'c1d65c5f-3037-4719-8987-98bbbb569dbe' not present in the configuration file!


    If you have removed it from the configuration file, please restore it






    Can I tell snapraid to restore the missing files to one of the content drives in the config? HOw do I restore my missing files?





    My current config looks like this





    # This file is auto-generated by openmediavault (https://www.openmediavault.org)


    # WARNING: Do not edit this file, your changes will get lost.


    block_size 256


    autosave 0


    #####################################################################


    # OMV-Name: Sata4T Drive Label:


    content /srv/dev-disk-by-id-ata-ST4000DM004-2CV104_WFN2BMF2-part1/snapraid.content


    disk Sata4T /srv/dev-disk-by-id-ata-ST4000DM004-2CV104_WFN2BMF2-part1


    #####################################################################


    # OMV-Name: Sata3T Drive Label: ST3000


    content /srv/dev-disk-by-label-ST3000/snapraid.content


    disk Sata3T /srv/dev-disk-by-label-ST3000


    #####################################################################


    # OMV-Name: Sas4b Drive Label: Dell4000b


    parity /srv/dev-disk-by-label-Dell4000b/snapraid.parity


    exclude *.unrecoverable


    exclude lost+found/


    exclude aquota.user


    exclude aquota.group


    exclude /tmp/


    exclude .content


    exclude *.bak


    exclude /snapraid.conf*

  • Solved by someone in the sourceforge comments


    "Modify this line in the config:

    disk Della /target/location/where/you/want/to/restore/the/files/

    Remove the Della content line.

    snapraid fix -d Della -m -D -l fix.log

    (fix disk Della, only missing files, ignore device conflict, write log in fix.log)

    You need to have enough free space to restore all the missing data in the target location.

    After the recovery you won't be able to sync until you have returned to a valid config without device conflict.

    Edit: Adjusted the instruction according to recovered config file."

Jetzt mitmachen!

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