PeterB Posted August 24, 2014 Share Posted August 24, 2014 Is it possible to enable NFS v4 service in current releases? If not, what would need to be added to a future release in order to enable NFS v4? Quote Link to comment
limetech Posted August 24, 2014 Share Posted August 24, 2014 Seriously, what is the advantage of NFS over SMB? Quote Link to comment
sureguy Posted August 24, 2014 Share Posted August 24, 2014 It's faster than older versions of SMB. Not sure about recent ones. If someone is using NFS with a centralized MySQL library, migration to SMB involves an extra step and some familiarity with SQL. Quote Link to comment
WeeboTech Posted August 24, 2014 Share Posted August 24, 2014 Seriously, what is the advantage of NFS over SMB? Permission management. users and groups are retained per the read/writing process and not the smbmount permissions. This is mostly important when using autofs for home filesystems and is probably a more advanced usage, I have a number of Solaris and Linux virtual machines. The virtual machines have the OS on the SSD flash but every other filesystem is automounted via autofs with NFS onto the unRAID server. For me it's important because I work with Solaris 8 , 10 and a few different Linux distros. I have to compile the source on each platform to insure compatibility. Proper UNIX permissions matter. Quote Link to comment
PeterB Posted August 25, 2014 Author Share Posted August 25, 2014 It's faster than older versions of SMB. Not sure about recent ones. ... and significantly less resource-hungry. In an environment with no Microsoft systems, it doesn't make sense to use SMB. Quote Link to comment
Dephcon Posted August 25, 2014 Share Posted August 25, 2014 I find it's much snappier to mount via NFS in XBMC. Also I've found smb in Gotham to be problematic in that it thinks the share is down when Windows can browse it no problem, preforming a library clean-up results in loosing everything. Ironically, I've had more success with mounting via CIFS from my ubuntu VMs due to the stale file handle bug or whatever. This might not be an issue anymore. Quote Link to comment
PeterB Posted August 25, 2014 Author Share Posted August 25, 2014 Ironically, I've had more success with mounting via CIFS from my ubuntu VMs due to the stale file handle bug or whatever. This might not be an issue anymore. Almost certainly it is still an issue, which is why it would be good to have nfsv4 available for those clients which support it. Quote Link to comment
bungee91 Posted August 25, 2014 Share Posted August 25, 2014 I'm not experiencing issues with NFS, however I use it almost exclusively for all my shared libraries for XBMC. I had heard that the Raspberry Pi can have issues with high bitrate streaming with Samba, and not an issue with NFS so that's what I use. I believe JonP has said in another thread he uses it exclusively, so I'm not sure his reason. Quote Link to comment
NAS Posted August 26, 2014 Share Posted August 26, 2014 For info almost all XBMC related NFS > CIFS is internet or implementation FUD. That is not to say NFS is not better than CIFS or vice versa but XBMC is not the sole usage case to justtify its inclusion. The justifications for inclusion need only begin and end with this: Seriously, what is the advantage of NFS over SMB? Permission management. users and groups are retained per the read/writing process and not the smbmount permissions. ... and ... In an environment with no Microsoft systems, it doesn't make sense to use SMB. Quote Link to comment
limetech Posted August 26, 2014 Share Posted August 26, 2014 Funny "permission management" is mentioned - this has always been one of the major weaknesses of NFS. Quote Link to comment
jphipps Posted August 26, 2014 Share Posted August 26, 2014 NFS performance seems to be better on OSX clients as well. The later versions are none for SMB issues. Also for using Final Cut Pro for video editing, it allows remote libraries over NFS, but not for SMB or AFP so that is the only way to use distributed libraries... Quote Link to comment
WeeboTech Posted August 26, 2014 Share Posted August 26, 2014 Funny "permission management" is mentioned - this has always been one of the major weaknesses of NFS. How is it a weakness? A person with uid/gid on one system gets mapped to the same uid/gid on the file server. They stay aligned. If the uid/gid in the passwd files are out of sync, that's the problem, not the actual permission themselves. Then there is root who is the superuser for everything unless you squash it. I manage a whole series of virtual machines all NFS mounting home directories to a single server. We don't have issues with it. It's not weak. It's keeps the unix permissions, uid/gid in sync as it should. Quote Link to comment
ogi Posted August 26, 2014 Share Posted August 26, 2014 Seriously, what is the advantage of NFS over SMB? NFS allows me to stream my ripped blurays to my raspberry Pi via XBMC without any pauses for buffering. EDIT: Forgot to add that SMB does not allow for this due to what I assume is the higher overhead needed on the raspberry Pi. Quote Link to comment
PeterB Posted August 31, 2014 Author Share Posted August 31, 2014 I found this thread, relating to enabling nfsv4 in Slack 14.1: nfsv4 in 14.1 Quote Link to comment
PeterB Posted September 7, 2014 Author Share Posted September 7, 2014 I have just moved deluge away from my Xen ArchVM to docker. Ever since, stale file handle has hit my VM with a vengance. Of course, the VM is one client which supports nfsv4 ... shame the server doesn't! Quote Link to comment
harleywastaken Posted September 9, 2014 Share Posted September 9, 2014 i also run a linux-only network and would like to dump smb. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.