Remote Mount plugin OK but no Share Folder ?

    • OMV 4.x

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

    • Remote Mount plugin OK but no Share Folder ?

      Hi

      On Linux 4.17.0-0.bpo.1-amd64 / OMV 4.1.9 (Arrakis) :
      I mount well remote NFS devices with Remote Mount Plugin / NFS , but they are invisible in Access Rights Management/Shared Folders ?? Why ?
      (I want that to do Rsnapshot jobs)

      Thanks in advance for any help..
      Sam
    • sam_scade wrote:

      but they are invisible in Access Rights Management/Shared Folders ?? Why ?
      By invisible, do you mean they don't show up as a device? Are the nfs shares nfsv4? Did you verify they are actually mounted with the mount command?
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Hi ryecoaaron and thanks to take time to help me (us)

      1/- I can create (or I don't see if it must be created automaticly after remote mount connected) a share folder based on remot mount device
      2/- nfs shares are in not nfsv4 (not checked in my remote mount config)
      3/- after remote mount added, I can see them in File Systems i see their size used, available stauts = online, mouted = yes, ...
      Images
      • configRemoteMount.JPG

        112.66 kB, 1,176×814, viewed 47 times
      • FileSys vue.JPG

        70.93 kB, 1,513×328, viewed 48 times
      • Shared Folder.png

        27.22 kB, 650×668, viewed 55 times
    • Looks right. Not sure why it isn't working. Might be because your share doesn't have a leading slash. What is the output of: grep nfs /proc/mounts
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • root@SRVBKUP02:~# grep nfs /proc/mounts
      192.168.1.31:/Data2 /srv/27a65d48-66bf-4967-bcf0-b66e227286cb nfs4 rw,relatime,vers=4.2,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.31 0 0
      192.168.1.30:/_RacineDATA /srv/fe433590-1c64-4330-b4af-5a81aa4eb83f nfs4 rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.30 0 0
      192.168.1.33:/DIRRACINE /srv/a8b5f979-d0a2-4b9a-ada2-20373b3fb029 nfs4 rw,relatime,vers=4.0,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.33 0 0
      root@SRVBKUP02:~#
    • sam_scade wrote:

      192.168.1.31:/Data2 /srv/27a65d48-66bf-4967-bcf0-b66e227286cb nfs4 rw,relatime,vers=4.2,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.31 0 0
      192.168.1.30:/_RacineDATA /srv/fe433590-1c64-4330-b4af-5a81aa4eb83f nfs4 rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.30 0 0
      192.168.1.33:/DIRRACINE /srv/a8b5f979-d0a2-4b9a-ada2-20373b3fb029 nfs4 rw,relatime,vers=4.0,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.33 0 0
      root@SRVBKUP02:~#
      All of your mounts are nfs v4 as I mentioned earlier. You need to add nfsvers=3 in the option box of each remotemount mount.
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • sam_scade wrote:

      "nfsvers=3" refused in option box, does some thing wrong in my config ?
      You are trying to add it to the nfs share option box. It should be added to the remotemount plugin option box.
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • I have nfs setup between two systems and I can't duplicate this. Although both of my systems are running OMV 4.x. Have you considered upgrading the OMV 1.x system?
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Hello ryecoaaron

      Yes i'm considering the upgrade gradually, but before i'm testing omv4 ;)

      Sorry, i'm not sure to understand well "I updated the plugin to support nfs v4."
      - wich one ? remote mount ?
      - how to update it ? do I have to load an upgrade ? which one ? I did not seen any thing about remote mount in omv update manager
    • sam_scade wrote:

      wich one ? remote mount ?
      Yes

      sam_scade wrote:

      how to update it ? do I have to load an upgrade ? which one ? I did not seen any thing about remote mount in omv update manager
      Did you click the Check button?
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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 in Update Management I clicked Check
      - first item of the list "intel-microcode 3.2018..."
      - last one "Winbind 2:4.5.12+dfsg..."

      Plugin : omv 4.1.10 installed

      In OMV Extras I did an click on Update

      I reboot the system

      -> no change

      PS : I remote mount on my OMV4 a volume from an OMV3, with or without the option versNFS=3 (or2) same issue as discribed in my first post (i see it in file system but not in Shared Folders)

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

    • sam_scade wrote:

      Yes in Update Management I clicked Check
      You need to enable omv-extras testing repo then. Based on feedback on github, it doesn't seem like it fixed the nfsv4 issue though.
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • with remote server on OMV3 : yes "grep nfs /proc/mounts" give the same "nfs4" but the share works (with or without "nfsvers=3" option)


      root@SRVBKUP02:~# grep nfs /proc/mounts
      192.168.1.31:/Data2 /srv/7f0757af-0b3e-4a45-8109-8af7cfacfc0e nfs4 rw,relatime,vers=4.2,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.31 0 0
      192.168.1.31:/Data2 /sharedfolders/RM_im_SRVDATA2 nfs4 rw,relatime,vers=4.2,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,clientaddr=192.168.1.26,local_lock=none,addr=192.168.1.31 0 0
      root@SRVBKUP02:~#

      i can't reproduce this success with remote server on OMV1 and 2 :( :
      Error #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount '/srv/7ac743fe-2a09-4e73-824d-c9917a44e13c' 2>&1' with exit code '32': mount.nfs: requested NFS version or transport protocol is not supported in /usr/share/php/openmediavault/system/process.inc:175
    • sam_scade wrote:

      i can't reproduce this success with remote server on OMV1 and 2
      Are you saying you can't mount nfs4 when the server is OMV 1 or 2?
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!