Mirror RAID with existing file system

    • Mirror RAID with existing file system

      Hello, first just want to say thanks for OMV. Loving it so far.

      So I just bought a new hard drive, which is a duplicate of the existing drive I have in my OMV machine. I want to set up a mirror RAID (RAID 1), but I already have a file system on the existing drive in the machine. I really don't want to lose the data on the drive. Is it possible to set up RAID 1 without deleting the data from the existing drive? If not, is it possible to move a file system to another drive if I connected another drive to the machine?

      Thanks!
    • Re: Mirror RAID with existing file system

      It is definitely possible to move to another drive connected to the machine and then create the raid 1 array. I can help with more details - hard drive sizes, amount of data,etc.
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Mirror RAID with existing file system

      Do you have a third drive (400+ gb) to move the data to?
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Mirror RAID with existing file system

      You wouldn't have to mount it. It could sit on the bottom of the case with the side open temporarily. There really is no way to convert it to raid 1. Do you have another computer on your network with enough space to temporarily hold the files?
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Mirror RAID with existing file system

      I would recommend using rsync. So, try the following:

      Create a filesystem on new external.
      Create a shared folder on new external for each shared folder on source drive.
      Create rsync job (type local) for each folder and run it. This will copy all files to new external.

      Once you are sure the files are on the new external, you can:
      Remove all uses of the shares from source drive.
      Remove shared folders from source drive.
      Wipe source drive.
      Create raid 1 array - let it sync before moving on.
      Create filesystem on raid 1 array.
      Create shared folders on raid 1 array.
      Create rsync jobs to copy files to raid 1 array.
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Mirror RAID with existing file system

      Hard not to. You could take screen shots of the current settings to set them back up.

      How often do the files change on your drive? Do you need real time mirroring or could it be scheduled every day, every hour, etc?
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Mirror RAID with existing file system

      Install openmediavault-rsnapshot. Works very well and can keep multiple backups on a timed basis.
      omv 4.1.23 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!