LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-17-2004, 11:41 PM   #1
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
Samba or NFS which is better?


I'm trying to share files back and forth between an windoze 2k machine and my FedoraCore machine. I'm curious which one works better for what I'm trying to accomplish.
 
Old 05-18-2004, 12:09 AM   #2
silmaril8n
Member
 
Registered: May 2004
Location: Vancouver, WA
Distribution: Mint, Debian, Slackware
Posts: 123

Rep: Reputation: 15
From what I understand NFS is for *nix to *nix and Samba is for *nix to Windows. So essentially you may need both on the same network if you want a directory to be shared to both operating systems.
 
Old 05-18-2004, 12:24 AM   #3
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
If you are sharing files with Windows, then Samba is the only choice.
 
Old 05-18-2004, 12:38 AM   #4
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Original Poster
Rep: Reputation: 15
can you run both NFS and Samba on the same machine?
 
Old 05-18-2004, 12:39 AM   #5
silmaril8n
Member
 
Registered: May 2004
Location: Vancouver, WA
Distribution: Mint, Debian, Slackware
Posts: 123

Rep: Reputation: 15
Sure can. Shouldn't be too bad.
 
Old 05-18-2004, 04:03 AM   #6
Trd79
LQ Newbie
 
Registered: Aug 2001
Location: Sheffield, UK.
Posts: 16

Rep: Reputation: 0
If you want to share with windows you will need to install Samba.

You can also use Samba to share with other Linux machines without any problem (mount the shares as smbfs in fstab).

Although you can use both, I would suggest you use Samba to handle all your shares to both *nix and windows clients. You will save alot of time this way as you only need to set up and map one set of shares.

There should be plenty of info on the forum about how to set up your samba config.

All the best and happy sharing!
 
Old 05-18-2004, 06:36 AM   #7
aline
LQ Newbie
 
Registered: May 2004
Distribution: linux
Posts: 17

Rep: Reputation: 0
Depending on what you try to accomplish, samba is the choice. But if you need to move around large files, ftp might be a better choice, it's a lot faster, but only for large files. Samba will do fine with small files.
 
Old 05-18-2004, 06:48 AM   #8
liutom
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
Hello !

my experience tells me that nfs is (much) faster than samba.
For example:

I have tested datatransfer (700meg) from one pc to another through a powerline connection...
here i have 2 normal realtec pci 100 mbit cards which are connected to the powerplug...

the theoretically datatransfer is 14 mbit...
but because of the length i get much lower datarates...

ok now th tests:

Linux to Linux
Samba: ca. 320kbyte (=2560kbit)
NFS : ca. 530kbyte (=4240kbit)

the only bad thing is that i get very often "timeout" problems when i want to connect my nfs-paths in the /etc/fstab... :-(
So i have to mount maually.....

But speed is great!

so long
Liu
 
Old 05-18-2004, 03:07 PM   #9
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

Rep: Reputation: 30
I totaly agree:

If you can get NFS share, use it!

Samba did his best to fit MS rules (wich sucks) :-)

Dhu... BTW, anybody heard about Windows Services for UNIX (SFU) ?? can profide NFS client for Windows... Also shares in NFS !!

I tested it on 2k also with it's NIS module ...
 
  


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 and Samba mijohnst Linux - Networking 2 12-03-2005 11:45 AM
NFS + Samba dvishloff Linux - Networking 1 09-29-2005 06:14 PM
Samba / Nfs EzehM Linux - Networking 0 10-29-2004 02:18 AM
NFS and or Samba linuxnube Linux - Networking 7 01-18-2004 07:18 AM
Samba vs nfs rtaft Linux - Networking 1 12-23-2003 05:51 PM


All times are GMT -5. The time now is 09:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration