Hacker News new | ask | show | jobs
by netflixandkill 1861 days ago
What absolute nonsense is this? NFS is far from perfect but aces the insane stupid complexity of SMB any day of the week and twice on Sunday
1 comments

NFS is a security disaster, its basic security model is "trust the client when they say they are root", and using it on a network with packet loss (wireless networks in particular, but EVERY network in the long run) is a recipe for silent corruption, stale mounts and kernel panics.

TCP vs UDP helps to a limited degree, but has annoying tradeoffs and isn't full proof against the problems.

NFS servers can remap remote UIDs to anything they want. This has been normal practice with less trusted clients for decades.

If you're dealing with unreliable networks, you probably want a remote syncing system as opposed to any rpc oriented remote filesystem. Rclone works remarkably well for that purpose.

In any case asserting that SMB is somehow preferable to any other option is insanity.

Stale mounts is for me the killer
Yep, a network file system that doesn't handle disconnections and reconnections well isn't great.