Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to copy all documents that are in use in an enterprize to a server, aply security permissions on some sub folders, and share the server directory in all computers.
I did it before with samba, but now thre will be no windows machines. Should I use samba or use NFS. Some people say NFS is not stable, that it looses connectivity. Is that right?? If it looses connectivity, will the user need to reboot the machine(losing the changes he made in the documment)???
You should use NFS to share files in your Linux-only (or Unix-only) environment. It's very stable and widely used for precisely the purpose you state. Its performance won't be as good as, say, a storage area network (SAN) or network attached storage (NAS), but it's a practical and cost effective alternative. Do your homework and make your NFS shares secure (see especially the root_squash and nosuid options) and run some file transfer tests to maximize your performance by tweaking parameters like rsize and wsize. You'll also need to explore nfs file locking to enable your users to edit nfs-served files without stomping on each other. Become familiar with the nfs, mount, and exports manpages. There are plenty of guides and tips on the web that are much, much more in-depth than what's been mentioned here. Explore them and you and your users should be well satisfied with NFS.
You should use NFS to share files in your Linux-only (or Unix-only) environment. It's very stable and widely used for precisely the purpose you state. Its performance won't be as good as, say, a storage area network (SAN) or network attached storage (NAS), but it's a practical and cost effective alternative.
I agree. I will go further and mention that NFS performance will be far superior to that of Samba. Also, NFS gives you the ability to enable or disable "synchronous writes" which is extremely important if you absolutely, positively have to maintain absolute data integrity.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.