NFS mount / Master Server / Slave Server

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

    • NFS mount / Master Server / Slave Server

      hello,
      OMV user for a long time, now I am facing a small problem.

      I have a Master server with my hard drives in raid and my sheets, and NFS share and I would like a slave server can mount the share the master server and slave server from the mount SMB / AFP shares.

      I used fstab but the NFS share from from the master server is not visible in the interface openmedivault.

      There's there a way to bypassed this?

      best regards,

      Moimeme
      --------------------------------------------------

      bonjour,
      utilisateur d'OMV depuis bien longtemps, aujourd'hui je suis confronté à un petit probléme.

      J'ai un serveur Maitre avec mes disques durs en raid et mes partitions, et des partage NFS et je voudrais qu'un Serveur Esclave puisse monter les partages du serveur maitre et a partir du server esclave monter les partages SMB / AFP.

      J'ai utilisé FStab mais le partage NFS provenant depuis le serveur maitre reste invisible dans l'interface d'openmedivault.

      Il y'a-t'il un moyen pour contourné ceci?

      Cordialement,

      Moimeme
    • Re: NFS mount / Master Server / Slave Server

      You mounted the NFS share from your Master Server on your Slave Server? And you now want to share this again, from the Slave Server? I've never seen someone done this before and I doubt OMV can do this at this stage.

      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!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: NFS mount / Master Server / Slave Server

      Hello

      I need make this.

      Why because i'am testing with iSCSI and i have poor performance, with NFS i'have good performance.

      is it possible to create a plugin or add the ability to mount NFS Share, and at the same time using the system property and OMV sharing?

      best regard,

      NFS Share on OMV


      Write:
      #time sh -c "dd if=/dev/zero of=/media/media_nfs/test.perf3 bs=4096 count=2097152 && sync"
      2097152+0 enregistrements lus
      2097152+0 enregistrements écrits
      8589934592 octets (8,6 GB) copiés, 20,7306 s, 414 MB/s

      read:

      # time sh -c "dd if=/media/media_nfs/test.perf2 of=/dev/zero bs=4096 count=2097152 && sync"
      2097152+0 enregistrements lus
      2097152+0 enregistrements écrits
      8589934592 octets (8,6 GB) copiés, 10,3383 s, 831 MB/s


      iSCSI


      Write:

      # time sh -c "dd if=/dev/zero of=/media/8f553d59-ce51-429f-84c7-bf78a3f8521d/media_iscsi/test.perf bs=4096 count=2097152 && sync"
      2097152+0 enregistrements lus
      2097152+0 enregistrements écrits
      8589934592 octets (8,6 GB) copiés, 37,5419 s, 229 MB/s

      Read:

      # time sh -c "dd if=/media/8f553d59-ce51-429f-84c7-bf78a3f8521d/ media_iscsi/test.perf of=/dev/zero bs=4096 count=2097152 && sync"
      2097152+0 enregistrements lus
      2097152+0 enregistrements écrits
      8589934592 octets (8,6 GB) copiés, 28,6929 s, 299 MB/s

      Files
    • Re: NFS mount / Master Server / Slave Server

      Seems your Storage has to push a lot of data that you need that high transfer speeds. I will poke ryecoaaron if somethings like that possible.

      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!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: NFS mount / Master Server / Slave Server

      You want a plugin that mounts the nfs share on a remote (master) server as a shared folder so that it can be used in other plugins within the OMV web interface? If so, the plugin is possible IF you can bind mount the mounted nfs share to another folder (a newly created shared folder).
      omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.4
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Re: NFS mount / Master Server / Slave Server

      I'll see what I can come up with.
      omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.4
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Re: NFS mount / Master Server / Slave Server

      Excellent, that is a very handy plugin!! Many Thanks for that!!!

      I was also looking how to configure it that way, but still didn't get through. I thought it would be possible by 'simply mounting' the NFS share, but it seems more complicated... and I didn't figure out how to do that...

      So right now I have mounted an exported zfs share and want to have the daap server serve the contents.
      It seems I am stuck here: the NFS - which is readonly - share seems to be mounted OK, but nothing is displayed in iTunes.
      So I went with eXTplorer to see this, and in eXTplorer all folders on the share are listed, but only the top level, and I cannot see their contents.
      But: I can see and expand the sub-folders when going to the shares settings page and clicking the ACL button.
      Are there additional rights needed just in order to display the contents of the share?

      greetings
    • Re: NFS mount / Master Server / Slave Server

      Try the openmediavault-remoteshare plugin instead. It has some fstab changes. If that doesn't work, there isn't much I can do since the plugin basically just creates an entry in fstab.
      omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.4
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Re: NFS mount / Master Server / Slave Server

      The problem is with the fstab change, the nfs share is mounted after the bind mount and it needs to be the other way. The remoteshare plugin fixes this. I didn't call it the same because I added the option to remote mount samba shares.
      omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.4
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Re: NFS mount / Master Server / Slave Server

      Enable the omv-extras testing repo and it should be in your plugin list.
      omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.4
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Re: NFS mount / Master Server / Slave Server

      That doesn't make much sense. The remoteshare plugin mounts the nfs export directly to the shared folder. No bind mounting. Maybe there is an option that needs to be put in fstab? I don't know what else to try.
      omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.4
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

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