Most efficient way to transfer data between different file system drives

    • OMV 2.x
    • Most efficient way to transfer data between different file system drives

      Hello everyone, i have decided to move to omv coming from a freenas user,
      to keep this simple im going to refer the hdds as green drives and red drives.
      i have 2xgreen drives, both running ZFS, i am about to get 2x red drives and move my around 5TB data to red drives and of course have them formatted as ext4,
      what is the most efficient way to do this ? the only way i see it is that i have to format the 2x reds as NTFS in my desktop running windows,move the data on the reds running ntfs, install omv on my nas and format the 2xgreen ones to ext4, move my data back to the 2xgreen drives on omv, install the 2x reds in the nas now running omv, format them as ext4 and move data again from green to reds.

      do i have an easier way around this?
      Thank you.
    • Put all four drives in a system and rsync them. You could do this in OMV as well. Otherwise, you could use a bootable linux distro like systemrescuecd.
      omv 4.1.19 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!
    • You don't install systemrescuecd (or gparted live or ubuntu live). It just runs on your computer. When you are done, take the drives out and it will boot to windows again. Can you put all four drives in the box that is going to eventually run OMV?
      omv 4.1.19 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!
    • yes i can put all four of them in the nas, and i will eventually mirror the green drives in omv, why do you ask?
      let me see if i understood you correctly, i should boot either systemrescuecd or omv on a flash drive on my desktop machine,have the reds installed there and formatted as ext4 then use rsync between freenas and one of those OS's, when i am done i simply format my green drives and freenas to omv and install the reds on it, correct ? :)
    • Nope :)
      1. Install OMV on OMV box. If you are installing on a flash drive, install omv-extras and flashmemory plugins right away.
      2. Update box to latest OMV
      3. Install all four drives in OMV box. Install omv-extras (if haven't already) and zfs plugin.
      4. Configure zfs plugin and create shared folder(s)
      5. Format reds ext4 and create shared folder(s) - might need the unionfilesystem plugin with mergerfs to make two reds look like one drive.
      6. Create an rsync job syncing zfs folders to red folders.
      No need to use Windows box for anything other than browser access. You could actually leave the system setup this way and just reverse the rsync to backup the reds on a scheduled interval.
      omv 4.1.19 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!
    • And if you want to be safe and keep the FreeNAS until OMV is up and running, set up OMV and rsync all data from the FreeNAS via rsync. Be sure to be on a local fixed network, no wifi.
      Might take quite some time for the first rsync to complete, but you can still use the FreeNAS. Just before switching, repeat the rsync process to copy changed files to omv.
    • i would like to note that i installed both freenas and omv in virtualbox just to test it out before i did anything,i created a ZFS hard drive with freenas and copied a file there and then used that drive in omv with the zfs plugin installed , at first it wouldn't import due to some error, so i used the -f (force) flag in the terminal and had it imported successfully, however the files i copied with freenas in the hdd wasn't found in omv, after some search i found following:

      Import your existing Pool ( use option in ZFS menu) ; remember that latest FreeNAS pools (9.3 and up) can't be imported due a Feature Flag not still implemented on ZFS for Linux (9.2 and down can be imported without problem), So please revise what feature Flags have your pool beforo to try to import on OMV


      link to original thread.

      i am running freenas 9.3 so I will instead usb boot omv on my main desktop, use rsync between freenas and omv, then do a clean install on the nas and move the hdds, i will post back if i get any new experiences.