Mount /dev/md0 and write to it?

  • Hi,


    when I want to backup my stystem SSD for example. Can I mount /dev/md0 (the software raid of omv) and write my backup there? I have a RAID1 (mirror).


    I would

    • boot my box from an usb drive with clonezilla(omv is not running at that moment)
    • clone the ssd to somewere on /dev/md0

    Or is there a better approach to do this?


    Do I have to mount somthing else?



    Another use-case: When I'm running docker containers on the SSD, but want to have the data on the harddisks (which are raid configured). Is this possible from the viewpoint of the raid?

  • Looking at the /etc/fstab there are some /export/... mountpoints.


    Is it ok to write to /exports/docker after setting "docker" as a shared folder?

  • boot my box from an usb drive with clonezilla(omv is not running at that moment)

    There is a plugin to allow you back up your omv configuration.


    Another use-case: When I'm running docker containers on the SSD, but want to have the data on the harddisks (which are raid configured). Is this possible from the viewpoint of the raid?

    Create an smb share on your raid then point/store your docker configs too...look at the guides section plenty of info in there.

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 6x amd64 running on an HP N54L Microserver

  • I would


    boot my box from an usb drive with clonezilla(omv is not running at that moment)


    clone the ssd to somewere on /dev/md0

    If you have omv-extras installed, there is an option to download clonezilla and to tell omv to boot for one time into clonezille. This option is not available for ARM.
    I use this option to clone the system SSD to a data drive. However, I do not use RAID.


    You can also use the backup plugin, as geaves mentions, but be aware that restore needs some knowledge. And it is a backup of a live system. Using clonezilla is probably the most reliable solution.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!