News for hackers. Stuff that matters.
Re:Bugs Rust Won't Catch by dapperdrake on Wednesday April 29, 2026 @12:12PM (#47950447)
In short, NFS has a terrible data model and only pretends to be a file system.
Re:Bugs Rust Won't Catch by pjmlp on Wednesday April 29, 2026 @01:20PM (#47951464)
Hence why even on UNIX people moved on from NFS, but on Linux it keeps being the remote filesystem many reach for.
Re:Bugs Rust Won't Catch by vablings on Wednesday April 29, 2026 @02:09PM (#47952128)
For me it was the path of least resistance, I do use WebDAV more now since Copyparty supports it out of the box but I would be open to suggestions
Re:Bugs Rust Won't Catch by pjmlp on Thursday April 30, 2026 @07:37AM (#47960985)
Samba/SMB, Network protocols like WebDAV, S3, Docker, OneDrive,....
Re:Bugs Rust Won't Catch by VorpalWay on Wednesday April 29, 2026 @04:57PM (#47954549)
NFS is more annoying on Linux than just using Samba though, at least for the NAS use case. With Samba on my server I can just browse to it in KDE's file manager Dolphin, and samba configuration is a relatively straight forward ini style file on the server. A pair of ports also need to be opened in the host firewall.

Contrast that with NFS, which last I looked needed several config files, matching account IDs between hosts, mounting as root, and would hang processes if connection was lost. At least I hear rpcbind is gone these days.

I don't think anyone sane uses NFS on Linux either these days. And it is rather funny that the protocol Microsoft invented is what stuck and became practical between Linux hosts.

Re:Bugs Rust Won't Catch by pastage on Wednesday April 29, 2026 @06:16PM (#47955447)
NetApp has NFS support and is widely used.
Re:Bugs Rust Won't Catch by VorpalWay on Thursday April 30, 2026 @02:05AM (#47958755)
First thing I have heard about NetApp. Seems to be some enterprise focused company, with more than one product. Not sure which product of theirs you refer to.

Synology, TrueNAS and Proxmox probably also have NFS support I would assume, and they definitely have Samba. Those are more relevant to me personally.

I just run a normal headless Linux distro on my NAS computer, I don't see the point of a specialised NAS distro. It too could have NFS if I wanted it, but it currently has Samba, because it is easier and works better.

So in conclusion, I'm not sure what your point is? Doesn't NetApp support anything except NFS?

Re:Bugs Rust Won't Catch by pastage on Tuesday May 12, 2026 @04:15AM (#48105583)
> it is easier and works better

For me NFS is easy and works better, edit two files, enable NFS and update firewall. I had NFS running before SMB, and if I am at hobby level I prefer http if it is good enough.

Re:Bugs Rust Won't Catch by ragall on Wednesday April 29, 2026 @07:07PM (#47955887)
No, any remote system would have the same problem if one expected to use it as if it were local.
Re:Bugs Rust Won't Catch by dapperdrake on Wednesday April 29, 2026 @11:21PM (#47957694)
Not quite. For persistence latency, yes.

For read-only access there could be way better caching, especially for common use cases like listing the contents of a filesystem directory. But stuff like this was excluded on purpose.

NFS is really stupid.

NFS made the assumption that a distributed system with over 100 times the latency of a local system could be treated like a local system in every single way.

Re:Bugs Rust Won't Catch by uecker on Thursday April 30, 2026 @02:03AM (#47958741)
I am not sure why this means why "NFS is really stupid" if the user assumes that a distributed file system can be treated just like a local system. That is provides the same interface is what makes NFS extremely useful.
Re:Bugs Rust Won't Catch by dapperdrake on Friday May 01, 2026 @09:02AM (#47974308)
And also, this is what makes NFS useless.

Latency is at least two orders of magnitude higher. That is the (relevant) difference here. And treating it like a loc system with all the incidental non-optimizations made the NAS use-case take 40 hours for colored "ls" output.

Re:Bugs Rust Won't Catch by uecker on Friday May 01, 2026 @11:26AM (#47975908)
I find it extremely useful and it works well for many use cases. This already implies that "it is useless" is pure nonsense. If it does not work for your usecase, just don't use it.
Re:Bugs Rust Won't Catch by dapperdrake on Monday May 04, 2026 @01:44AM (#48005056)
The basic argument was "NFS is stupid". The basis for this claim is its data model being ill-suited to network latency. This is different from "useless".
Re:Bugs Rust Won't Catch by ragall on Thursday April 30, 2026 @11:01AM (#47963569)
It's wasn't "NFS", it was always the users that made that mistake. NFS can be used in a proper and productive manner, but it requires adjustments.
Re:Bugs Rust Won't Catch by dapperdrake on Friday May 01, 2026 @09:03AM (#47974314)
Which all boil down to "replace NFS with something that has a better data model."
Re:Bugs Rust Won't Catch by ragall on Saturday May 02, 2026 @02:18AM (#47983825)
Any remote data system would have the same problems. Looping over a list and synchronously fetching files one by one is equally foolish for S3 too.
Re:Bugs Rust Won't Catch by dapperdrake on Monday May 04, 2026 @01:44AM (#48005058)
That is the point.