| View previous topic :: View next topic |
| Author |
Message |
pythoncoder
Joined: Thu Jun 21, 2012 4:08 pm Posts: 2 Location: Macclesfield UK
|
Posted: Thu Jun 21, 2012 4:29 pm Post subject: Samba vs NFS |
|
|
I'm puzzled that articles in Linux Format seem to concentrate on Samba rather than NFS. Reviews of NAS boxes seldom mention it as a feature and the recent one on using a Pi as a NAS box was entirely based on Samba.
Six years ago, as a Linux newbie, I bought a Qnap NAS box which supported only Samba. I experienced numerous problems relating to file ownership and permissions. Wiser heads than I pointed out the differences between the Windows and Linux permissions models and suggested replacing it with a more recent box which supported NFS. From the moment I did so the mount worked just like a local drive. Magic!
While Samba is great for connecting Windows boxes to a server it seems odd to recommend a Windows protocol to connect a Linux desktop to a Linux server. Why put up with the oddities which are particularly confusing to newbies?
Has Samba got better in the years since I used it or am I missing something?
Regards, Pete |
|
| Back to top |
|
 |
wyliecoyoteuk LXF regular

Joined: Sun Apr 10, 2005 11:41 pm Posts: 3358 Location: Birmingham, UK
|
Posted: Thu Jun 21, 2012 11:14 pm Post subject: |
|
|
NFS is great in a static LInux only network, but it lacks flexibility, which is why Samba gets used. _________________ The sig between the asterisks is so cool that only REALLY COOL people can even see it!
*************** ************ |
|
| Back to top |
|
 |
Dutch_Master LXF regular
Joined: Tue Mar 27, 2007 2:49 am Posts: 2353
|
Posted: Thu Jun 21, 2012 11:46 pm Post subject: |
|
|
| Moreover: many environments, including but not exclusively, domestic and SOHO, are at best mixed to start with, with non-Linux OS's dominant... So you'd need Samba anyway. True, I too prefer the simplicity of NFS but as WC already mentioned, that's quite exclusively the domain of Linux/Unix/BSD... |
|
| Back to top |
|
 |
wyliecoyoteuk LXF regular

Joined: Sun Apr 10, 2005 11:41 pm Posts: 3358 Location: Birmingham, UK
|
Posted: Fri Jun 22, 2012 11:19 am Post subject: |
|
|
Actually, Win7 has an NFS client, but setting up NFS in a mixed environment is not trivial.(nor is Samba for that matter, but there are more user friendly tools for it)
From what I remember from the last time I tried to use it, NFS seems to assume servers that are on 24/7, and things can get messy if you connect to another desktop machine, for example.
Apparently NFSv3 is easy but lacks good security, whereas NFSv4 has good security but is more complex _________________ The sig between the asterisks is so cool that only REALLY COOL people can even see it!
*************** ************ |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8001 Location: Warrington, UK
|
Posted: Fri Jun 22, 2012 11:50 am Post subject: |
|
|
NFS gets pretty sulky if a server holding a mounted share goes away. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
pythoncoder
Joined: Thu Jun 21, 2012 4:08 pm Posts: 2 Location: Macclesfield UK
|
Posted: Fri Jun 22, 2012 1:20 pm Post subject: |
|
|
| wyliecoyoteuk wrote: | | NFS is great in a static LInux only network, but it lacks flexibility, which is why Samba gets used. |
When I had a Windows box it talked to the NAS box using Samba while my Linux boxes used NFS. It worked far better than using Samba throughout for the reasons I cited.
However mine is a simple home network. But I surely wasn't the only newbie to struggle with this issue and to be rescued by NFS!
Regards, Pete |
|
| Back to top |
|
 |
wyliecoyoteuk LXF regular

Joined: Sun Apr 10, 2005 11:41 pm Posts: 3358 Location: Birmingham, UK
|
Posted: Fri Jun 22, 2012 4:42 pm Post subject: |
|
|
Oh Yes, with a static 24/7 server like a NAS, it is a nice simple solution.
Not everyone has that sort of setup however, although it is becoming more common now.
Samba gets used more because a lot of people have 2 or 3 workstations that they want to file share between without a file server, and NFS does not suit that. _________________ The sig between the asterisks is so cool that only REALLY COOL people can even see it!
*************** ************ |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|