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

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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, ...

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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:~#

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    "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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    I updated the plugin to support nfs v4.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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

    • Offizieller Beitrag

    wich one ? remote mount ?

    Yes


    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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)

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!