LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-10-2008, 09:47 PM   #1
srunni
LQ Newbie
 
Registered: Jun 2007
Posts: 24

Rep: Reputation: 15
NFS vs Samba for home server


Hi,

I have a headless server in my home that I store all my files on. I need a way to access the files from other computers on my LAN (all Linux). Some of these files will be very large. I have control of all the computers on the LAN. Would NFS or Samba be a better choice for remote file access?

Thanks!
 
Old 08-10-2008, 10:37 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Normally if its all Linux I'd go NFS. Samba is primarily aimed at enabling MS to talk to Linux, although Linux-Linux is possible.
 
Old 08-10-2008, 10:38 PM   #3
srunni
LQ Newbie
 
Registered: Jun 2007
Posts: 24

Original Poster
Rep: Reputation: 15
OK, I'll go with NFS then. Thanks for the help!
 
Old 08-10-2008, 10:48 PM   #4
userlander
Member
 
Registered: Jul 2008
Distribution: Arch, Debian
Posts: 61

Rep: Reputation: 18
In addition to what chrism01 said, samba also has more (and better) security options. So if that's important in your situation I would go with that. Otherwise, I agree with NFS all the way, it's much easier to set up and use, imo.
 
Old 08-10-2008, 11:32 PM   #5
srunni
LQ Newbie
 
Registered: Jun 2007
Posts: 24

Original Poster
Rep: Reputation: 15
No, I don't think security is a problem. I only need read-only access to the data anyway.
 
Old 08-10-2008, 11:37 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you are retrieving video files, nfs will work better for Linux/Linux filesharing. You will be able to play a video file as if it were a local file. With samba the file will cache before playing. NFS works better if you will edit a file on a share. NFS uses byte range locking.
 
  


Reply

Tags
headless, nfs, samba, server



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
Root-NFS: Server returned error -13 while mounting /home/aravindb/RFS/rootfs boinpally Linux - Server 4 06-16-2011 07:15 AM
NFS client can't see /home on server tparker Linux - Networking 6 04-29-2008 12:23 AM
What distro to use for home nfs/rsync/mpd/apache server? hollywoodb Linux - General 2 03-23-2007 12:02 PM
NFS and Samba on the same server? Baldur5018 Linux - General 3 02-06-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:18 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