Consider switching NFSv3 for NFSv4 #284
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NFSv4 is not really an upgrade in the traditional sense, it's more like a switch from one system to another. And for most people this does not necessarily make sense - it does not bring any performance improvements apart from edge cases. But I suspect we might be one of those edge cases.
One of the features added in NFSv4 is compound requests - bundling several requests into a single action (e.g. lookup, stat, open, read). For interconnected servers in the same rack, this is usually not where the bottleneck is. But due to us sending our traffic from demiurgen and wegonke through an openvpn tunnel with non-trivial roundtrip times, these compound requests might have potential to speed up interaction with files in homedirs. Lots of requests for lots of small files would be likely be improved, and might make our terminals more responsive. We should at least test it out and see if we want it.
There are a few other differences, but I am not sure how they affect us yet. A few thoughts:
I don't think we have any UID/GID mismatches though, the ownership checks should in theory be enforced exactly the same way as it currently is. Also, we don't really use NFS for anything else than home user dirs, and the mail is not handled through NFS - likely for this reason among others.
Tom is ancient at this point, we should switch it out anyway. But NFSv4 is dinosaur material. NFSv4.1 was released in 2010, long before the release of oldoldoldoldstable debian 9 stretch, which tom is currently running.
No clue, but I also think there's no good way to determine that for most of our software except for trying it out. But like, the NFSv4 locks are supposed to work by the semantics of how a lock is supposed to work anyway, no? What are the likely pitfalls?
Tom user web hosting, gopher on isvegg, else no
Not AFAIK, the only place we'd need that would be tom or maybe isvegg, but I think both are pretty default setups that just follow the rules as given.
Because of the lock leases?
Maybe we should try deploying https://github.com/sbu-fsl/fsl-tc-client?
I don't think these issues need to be codependent. AFAIK, there's nothing in the way of hosting NFSv4 in parallel with NFSv3 and just trying it out. If nothing else, we could at least set up a dummy server on the other side of the VPN tunnel and test it out on demiurgen and wegonke.
Sure, sounds good, me likes!
Note:
That is still homedirs, I was thinking if there are other exports/shares than microbel:/home/pvv that use NFS, but I can't think of any
No, you can check microbels
/etc/exports, there's nothing else thereYes, I have, but I haven't checked every other servers mounts and exports yet, as the issue doesn't seem to be limited to Microbel