What's new

NFSv4 Asus Merlin?

  • 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!

zerophase

Occasional Visitor
I just wanted to check if it was possible to enable NFSv4 for Merlin? Do I just download the package in Entware? Are there any other steps I would need to follow to make sure Entware's NFS is being used over Merlin's?

I'm trying to see if I can tune for larger rsize, and wsize parameters.
 
Would require kernel support. Changing kernel options is always problematic, as it carries the risk of breaking compatibility with the closed source components, so it's highly unlikely to ever occur.

Even the current V2/V3 support is considered experimental, and unlikely to ever go beyond that stage.
 
Best option for that would be installing dd wrt? The only reason I'm switching from sshfs to nfs is because of slow write speeds.

Is it just that for V2/V3 stability more developers are needed?
 
Best option for that would be installing dd wrt? The only reason I'm switching from sshfs to nfs is because of slow write speeds.

Is it just that for V2/V3 stability more developers are needed?

NFS causes the kernel to crash on the MIPS models, and I've been unable to track down the cause.

Plus, being the only developer on this project, I have to prioritize my time - and NFS is very low at the bottom of the ladder for what is primarily a network router.
 
I just noticed the transfer speeds drop on sustained transfers. Is there any way to tune ssh, on the router side for higher speeds than 7 Mb/s? I'm on an ac5300.
 
Dropbear provides next to zero finetuning parameters. Best you could do is look at using a lighter cipher on the client side, and playing with on-the-fly compression support.

Why not use NFS V3? Virtually any Linux distro should still be compatible with it.
 
I've tested NFS connectivity with Linux Mint 17.2 and it does run fine. The router reports an unknown version (version 4) but still connects OK.
 
The desired protocol version can be enforced at mount time.

Been a few years since I touched NFS, so I don't remember the syntax.
 
What options are you mounting it with?

installed packages with

sudo apt-get install nfs-common portmap

mounted with

sudo mount -t nfs -o defaults,nfsvers=3 192.168.1.1:/mnt/ASUS /home/name/ASUS

where /mnt/ASUS is the NFS export with rw.sync options

EDIT: added the option mentioned by @RMerlin to force version 3 (no more router message)
 
Last edited:
It's strange I'm getting between 30 - 60 MiB/s for the first 10 minutes of the back up, but after a bit the transfer rate just drops. By the way, thanks those mount options helped me doubled check my mounts.

@RMerlin I noticed adding noatime to the mount options in the Asus menu wouldn't let me detect the the share. Is that a bug or intended?
 
Last edited:
It's strange I'm getting between 30 - 60 MiB/s for the first 10 minutes of the back up, but after a bit the transfer rate just drops. By the way, thanks those mount options helped me doubled check my mounts.
It's probably any cache.
You could try some different values for rsize/wsize:
http://www.cyberciti.biz/faq/linux-unix-tuning-nfs-server-client-performance/

When you google for nfs tuning and/or performance you will find many guides. The bottleneck for Asus routers are mostly the CPU.
 
It's strange I'm getting between 30 - 60 MiB/s for the first 10 minutes of the back up, but after a bit the transfer rate just drops. By the way, thanks those mount options helped me doubled check my mounts.

@RMerlin I noticed adding noatime to the mount options in the Asus menu wouldn't let me detect the the share. Is that a bug or intended?

@zerophase did you ever solve the "noatime" issue? I'm noticing the same. If I add "noatime" (no "nodiratime") to the options for the nfs mount, showmount -e in the clients stops showing any share, and the remote mounts all fail. I want to use noatime to minize wear of the usb flash. I host a database file there with a lot of reads so the access time is constatnly updating
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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