Reinstall OMV 4 on new/same SSD without data loss... ? OMV 4.x

    • OMV 0.4

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Reinstall OMV 4 on new/same SSD without data loss... ? OMV 4.x

      Hi, I'm new in the forum, I have a question because I don't know so much about Debian...
      If I have installed OMV4 on a SSD on Sata-1 and I have other 2 or 3 hard disk on others sata channel but with over them only data folder...

      If I unmount all the mechanical hard disk and than turn of the nas. If I fisically disconnect the hard drives from the nas and I reinstall a fresh OMV4 on the same SSD (or a new one).

      Than if I connect the old mechanichal drives... Can I mount them and FIND the Folders without data loss.... Or I need to format all drive that I connect to a new OMV installation?

      Many thanks.
      Edit: Sorry OMV 4.x

      The post was edited 1 time, last by stefan33 ().

    • Welcome!

      OMV has a strict seperation between system disk (your SSD on Sata-1) and data disks (on other SATA's).

      Therefore you install on the system SSD. After this shutdown, connect, reboot and just mount the data-disks in the WEB-GUI.
      Maybe you have to define sharefolders and CIFS aso manually to access them, but datas are present.

      To erase data you explicitely have to format (of course Dont do this!).

      Years ago I had a broken flash-stick which forces me to reinstall. After attaching the data drives, everthing was where it was before.


      Nevertheless a backup is always mandatory.
    • Many thanks, so if I think ssd only for system and hard disk only for data I can mount and unmount, disconnect, ecc... data disk (EXT4) and than move them for exemple un another OMV Nas? Like you say I could think yes. Could be nice. :)

      Please another question: if I want to move, copy one folder from one har disk to another... Can I do it from the webgui? Or can I do it with a OMV plugin ecc... Many thanks.. :)
    • stefan33 wrote:

      Please another question: if I want to move, copy one folder from one har disk to another... Can I do it from the webgui?
      Not from the WebGUI. The fastest way to move large data is to SSH to the server and move the files using Linux commands or midnight commander (mc).
      To SSH into your server you can use Putty on Windows or a terminal on linux or /iOS. You can also use the shellinabox plugin from OMV and use your browser.

      You can also do it on client side (SAMBA, FileZilla, WinSCP etc.) but that involves uploading the data to the client and downloading again to the server.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • Yes.
      But note, that your OMV will complain if a data drive is missing.
      If you want to remove a drive permanently you would have to delete all shares (only shares, not content) and unmount the drive.
      EDIT: you have to do this in the GUI of OMV as otherwise OMV is not aware of it
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:

      The post was edited 1 time, last by macom ().

    • Yes, for sure... for remove a drive normally I unshare all shared folder, remove every connection to the folders than unmount, turn off and disconnect.... Thank you so much.

      Excuse me, but I understand that you know all... so :) .... If for exemple I start with system on a 64 Gb ssd and the data on 6TB WD Red Normal... Not raid. After one week if I get another 6TB Red same kind, firmware ecc...

      Can I make a Raid Mirror? Or I need to START with a Raid?

      And is it possible to move a Raid of 2 drives to another OVM NAS? If yes I think with OMV you can do whatever you want: start cheap, upgrade, add disk, add raid ecc.... very intresting. :)
      Overall many thanks to you. :)
    • Question would be, why you want to have a RAID? RAID is about availability and you probably don't need availability.

      You could run a rsync job to mirror the data.
      I use rsnapshot plugin. Using rsnapshot you get snapshots on a daily, weekly, monthly, yearly basis. So you can go back in time. If you have deleted a file by accident or a file gets corrupted you will still find a previous version of that file.

      EDIT: search the forum for "RAID is not backup" (including the quotes)
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • stefan33 wrote:

      Can I make a Raid Mirror? Or I need to START with a Raid?
      You need to start with a Mirror. You cannot convert.

      stefan33 wrote:

      And is it possible to move a Raid of 2 drives to another OVM NAS?
      Yes, that can be done.

      If you want to increase the capacity you can use the unionfilesystems plugin. I makes it possible to mount different filesystems under a single mountpoint. So you have for example two drives, but they will behave like one. If that sound interesting, search for "mergerfs" with a search engine of your choice..
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!: