What's new

NFS auto mount point & NFS 4?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

busch09

Regular Contributor
Hi,

A) Is there a way to automatically create the NFS mount-points eg. /mnt/nfs /mnt/nfs2 during router boot ?

I have the mount in my /jfs/scripts/fstab.postconf:
mount -t nfs 192.168.1.102:/volume1/public /mnt/nfs -o nfsvers=3,nolock,_netdev,rsize=8192,wsize=8192

It works manually after I create the folder with mkdir /mnt/nfs

B) In the merlin source it says the NFS 4 is supported.
https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/nfs-utils/utils/mount/nfs.man

Is that correct ? How to I set my mount to NFS4?

cheers
chris

Synology settings:
shared folder - permissions - system internal users: anonymous check read
NFS:
hostname: *
Privilege: read
Squash: map all to admin
security: sys
 
B) In the merlin source it says the NFS 4 is supported.

That's just the man page to nfs-utils. NFSv4 is not enabled in the kernel, as it requires various additional requirements, and file serving is not my priority on a router.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top