Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-17-2004, 10:41 PM   #1
gnu noob
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-17-2004, 11:09 PM   #2
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-17-2004, 11:24 PM   #3
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
If you are sharing files with Windows, then Samba is the only choice.
Old 05-17-2004, 11:38 PM   #4
gnu noob
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-17-2004, 11:39 PM   #5
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, 03:03 AM   #6
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, 05:36 AM   #7
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, 05:48 AM   #8
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
Old 05-18-2004, 02:07 PM   #9
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

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 ...


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 10:45 AM
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 or Samba linuxnube Linux - Networking 7 01-18-2004 06:18 AM
Samba vs nfs rtaft Linux - Networking 1 12-23-2003 04:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 PM.

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