NFS more clients access to Shared Folders

  • Hi.


    How can I allowed to mount more clients to my Shared Folders??


    ex.
    I have three PC, but only two can mount a shared folders "X"


    first PC 192.168.100.105
    second PC 192.168.100.110
    third PC 192.168.100.120
    netmask is 255.255.255.0 (24)
    I want, allow to first and third PC.
    How to put the IP in the box of Client??
    Not working:
    192.168.100.105/24,192.168.100.120/24
    192.168.100.105/24;192.168.100.120/24


    Sorry for my english.


    lexmark

    • Offizieller Beitrag

    If you follow the example in the plugin, you would put 192.168.100.0/24 to allow everything in the 192.168.100.x range to mount it.

    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 understood, but I don't want allow to mount everyone, only two clients.

    Oh. Then you need to make an nfs share with the same shared folder but different client like in the pic below.


    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!

  • OK another question is, how can I automount my shared folder in my OMV to my local PC??
    I had auto.master and auto.nfs configured.
    Now in /srv/nfs I can see ewerything what I shared in NFS on OMV server.
    Is any posibility to mount that share like hard drive??


    Thx.

    • Offizieller Beitrag

    Is any posibility to mount that share like hard drive??

    Yep. Just add an fstab entry. There is a decent fstab explanation on this page - https://www.digitalocean.com/c…nfs-mount-on-ubuntu-18-04

    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!

  • Ok. Thanks.
    The same mount I can do with autonfs.
    I have a problem with VeraCrypt.
    I make a NFS share, added a folder, added permision, now, I can read and write files, but when I'm trying to create a VeraCrypt container, I have an error. VeraCrypt :|:File::Open:232.
    I found this topic https://github.com/veracrypt/VeraCrypt/issues/23, but I don't know how should look a command in auto.nfs file.
    Now my command in auto.nfs is:
    iso -fstype=nfs4,hard,intr,nodev,nosuid,async,rsize=1048576,wsize=1048576 192.168.100.110,user:/export/iso


    Where user is user which I added in OMV Users, and he has privilage to r/w to ISO share.

Jetzt mitmachen!

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