LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2006, 08:09 AM   #1
Drunkalot
Member
 
Registered: Aug 2004
Distribution: Linux from Scratch
Posts: 69

Rep: Reputation: 15
NFS or Samba?? or other??


Hi all...

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)???

thx.
 
Old 01-29-2006, 09:01 AM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
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.
 
Old 01-29-2006, 09:42 AM   #3
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
http://www.tldp.org/HOWTO/NFS-HOWTO/

Last edited by slackhack; 01-29-2006 at 11:55 AM. Reason: changed link
 
Old 01-29-2006, 11:35 AM   #4
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Quote:
Originally Posted by jcliburn
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS + Samba dvishloff Linux - Networking 1 09-29-2005 05:14 PM
Samba / Nfs EzehM Linux - Networking 0 10-29-2004 01:18 AM
nfs and samba nevantrouble Linux - General 1 07-30-2003 02:31 PM
samba /nfs feind Linux - Software 2 03-27-2003 11:02 PM
NFS vs SAMBA ? bankrupt Linux - Networking 2 09-25-2002 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration