Software to read data from disk if OMV crash

  • Hello!


    Is there any software you can install in Windows to read data from disk, both single disk and raid1 disk?? Let's think that the motherboard or something els crash on the OMV and you need to get the data from the disk, using a usb docking station Connected to a Windows computer.


    Regards
    Kåre!

  • you can start a VM with VMware or Virtualbox and install a OMV into it. Then after that you can attache the drives to Windows and physically map them to the VM. After that all your data is available again.

    Everything is possible, sometimes it requires Google to find out how.

    • Offizieller Beitrag

    You have two more couple options as well:


    1. If the motherboard still works, use a rescue cd like SystemRescueCD or even Ubuntu. You can boot these disks to a desktop and mount the hard drives to recover data.


    2 . If the motherboard crashes, you should be able to put in a new motherboard or put the drives in another system and boot to OMV. Linux is much more friendly about moving to a completely different system than Windows. The only that would have to be tweaked is the network interface. A new mac address will get a higher number for the network (i.e. eth1 instead of eth0). This is easy to fix though.

    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!

  • If your system drive dies take it out and put in a new drive. Unplug all the data disks and reinstall OMV. Then turn off and plug in data disks. Your new system drive will be able to mount your data disks. You will have to recreate your shares and other configs. I think this is best a quickest way to get your system going. If you backed up your system with Clonezilla you can restore the image to the new system drive.


    PS- if it is just one disk, and not a raid, you can check this out to mount an ext3/ext4 disk to a Windows system: http://www.ext2fsd.com/

  • I think, we should make this thread sticky. We now collected basically all possible options to recover a OMV system, that died for whatever reason :D

    Everything is possible, sometimes it requires Google to find out how.

    • Offizieller Beitrag
    Zitat von "SerErris"

    I think, we should make this thread sticky. We now collected basically all possible options to recover a OMV system, that died for whatever reason :D


    I agree :) Changed.

    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!

    • Offizieller Beitrag

    Personally... I don't concern myself with backing up the system drive. I'm a pretty serious 'note taker' when tweaking an OS. So if I was doing serious tweaking, I'd just do a clean install, and then follow my notes on any tweaks. If I were going to concern myself with this... I'd just use Clonezilla... clone the drive when it was in a good, working state, and then restore the image if needed.


    As it stands... I can have a blank disk, up and running OMV w/ all my plugins configured and working, etc.. in about 25min. To me, it's just not worth the hassle to backup the system drive. To me, this is one big advantage of having your data isolated from the operating system disk.

  • I did some testing.


    - I mounted a RAID (stripe) array with my drives,
    - put some data
    - then reinstalled OMV on the same computer.


    OMV automatically mounted the RAID array and all the data was there. So I guess you could just install OMV and then attach the old drives on the new machine.


    Experts, am I right?

  • Yes, all you should do is disconnect all the data drives. Leave the system drive connected and install OMV. Then shutdown and connect data drives. When you go into the web-gui it will discover the raid and you just have to mount it.

  • Would it be possible to backup the system via rsync ? The plugin doesn't let you select the root partition, but I guess if you configure it manually it would be possible. My system disk broke yesterday and it was an pain in the a** to get everything working again. Manliy because my server is sitting on a shelf in the basment behind tons of stuff, without a Monitor or Keyboard connected to it. It would be nice to make regular backups while the system is active since there is no way of saving your configuration.


    By the way, are there any plans on a configuration backup feature in the comming releases ?

  • First step would be to save the configuration file.
    Second would be to use clonezilla to make a backup ;) but you can also use rsync like that:


    Code
    rsync -aAXv /* /path/to/backup/folder --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}


    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!

  • Zitat von "davidh2k"

    First step would be to save the configuration file.
    Second would be to use clonezilla to make a backup ;) but you can also use rsync like that:


    Code
    rsync -aAXv /* /path/to/backup/folder --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}


    Greetings
    David


    Cool thanks.


    Clonezilla has problems with cloning to disks that are different in size, and I need a keyboard/monitor for it. I used it before but it takes about half and hour untill I have my server dug up and booted with it, and then another hour just to make the backup, oh and I have to put everything back too. So all in all it takes 2 hours just to make a backup with clonezilla that is outdated in less then a week. Not the best solution for my situation, but if you have better access to your server it's probably the best way to do it.

  • If I remember correctly some of the other mods were talking about the possibility to run clonezilla 100% headless, (even talking about booting to clonezilla from within omv) maybe one of the users more experienced can tell you something about it. And for the rsync solution you would still need to go to your server in case of HDD failure.


    Greetings
    David


    PS: Why is you OS setup outdated in a week? Do you setup so many shares users etc. over the time?

    "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!

  • Zitat von "davidh2k"

    If I remember correctly some of the other mods were talking about the possibility to run clonezilla 100% headless, (even talking about booting to clonezilla from within omv) maybe one of the users more experienced can tell you something about it. And for the rsync solution you would still need to go to your server in case of HDD failure.


    Greetings
    David


    PS: Why is you OS setup outdated in a week? Do you setup so many shares users etc. over the time?



    Well I'm an IT-Specialist in training and that server is a really good playground :lol: . Clonezilla headless would be ace, but from what I can tell it is a sh*t load of work to seamlessly integrat it with all that stuff you have to consider pre and post boot.


    Anyway, I came across a program that does exactly what i wanted. It's called rsnapshot. It uses rsync to keep hourly/daily/weekly/monthly backups and you can define how many backups it should keep before deleting them. I quiet like it.

  • Here are two threads about headless OMV backup One, Two, from our Tutorial, How To thread. Maybe they will help make it easier.


    Thanks for the tip on "rsnapshot" will take a look at it.

  • To help me protect myself from myself and the linux rm command I added an alias to my /home/davevm/.profile file as;

    Code
    alias rm='rm -i'

    this makes the rm command interactive and gives me one more chance to save my butt.


    Do a search for alias man and for alias and you can save yourself a lot of grief.

  • Thanks and you may want to do it sooner than later to save yourself some future grief.

Jetzt mitmachen!

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