TrueNAS SCALE NFS share and Win10 client

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
I have gone through all NFS / Scale topics and didn't find an answer. Currently I am running TrueNAS core and am in need to get NFS service running with a Windows 10 client. But there is a known bug, which causes trouble:


I am wondering if that bug also affects TrueNAS scale or is just happening within TrueNAS Core?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
If your error messages are similar, Try out the "no lock" fix and see if it solves it.
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
If your error messages are similar, Try out the "no lock" fix and see if it solves it.

I haven't tested on Scale yet. I was wondering, if somebody having scale running, has a NFS share running on Win10.

For me, I don't like the bug fix "no lock", as it feels to decrease security. I am actually thinking of activating smb instead as well for the share for the win system, but without write permission. But well, that's another topic.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I don't like the bug fix "no lock", as it feels to decrease security
Just to clarify, file locks and security are not related.

File locks refer to a signaling system to indicate if files are open by a process or not and whether to allow additional processes to access locked files.

Security refers to Access Control... which determines which users are permited to view/list, read/write/delete files. File locking comes after that has been processed.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I have WIP commit to switch to the Linux NFS kernel server that will be merged into master / nightlies next week. Once it's in, you can try to see if the issue still exists.
 
Joined
Jan 4, 2022
Messages
6
Is it possible to use SMB for your need, or do you have to stay with NFS? I've found SMB is significantly faster with less tuning effort and using Windows 10 or Mac OSX clients... The difference was so great that I configured all my NFS mounts to also have SMB mounts, and migrated my windows / osx clients to using SMB.
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
Is it possible to use SMB for your need, or do you have to stay with NFS? I've found SMB is significantly faster with less tuning effort and using Windows 10 or Mac OSX clients... The difference was so great that I configured all my NFS mounts to also have SMB mounts, and migrated my windows / osx clients to using SMB.
Well, that is a different discussion. We had isues on SMB with latest Mac OS release, which could be solved with NFS.
I think getting NFS working in Scale deployment would be great.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Well, that is a different discussion. We had isues on SMB with latest Mac OS release, which could be solved with NFS.
I think getting NFS working in Scale deployment would be great.
What were the issues with MacOS + SMB? Generally speaking, SMB is probably the way to go with Macs and Windows.
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
What were the issues with MacOS + SMB? Generally speaking, SMB is probably the way to go with Macs and Windows.
System chrases with Big Sur on copying Data 1TB and above. There were some reports on that inside developer forums. We got rid of them, switching to NFS. Also people told me, that there is a data overhead on SMB, but I can't really say, if that information is valid.

I am quite curios, how NFS will run on Win 10 Enterprise.
At least currently NFS works fine with the Mac OS systems.
 

Chris3773

Dabbler
Joined
Nov 14, 2021
Messages
17
Windows supports up to NFSv3 as a client, it doesn't look they will support NFSv4 anytime soon. SMB will beat out NFS in performance on Windows, even with the overhead. The only time where NFS might be better is if you are transferring a lot of smaller files compared to larger ones.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
System chrases with Big Sur on copying Data 1TB and above. There were some reports on that inside developer forums. We got rid of them, switching to NFS. Also people told me, that there is a data overhead on SMB, but I can't really say, if that information is valid.

I am quite curios, how NFS will run on Win 10 Enterprise.
At least currently NFS works fine with the Mac OS systems.
Which developer forums? Did you file a bug ticket?
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
Reddit, communities.apple, appletalk… with Big Sur there came issues. We for us experienced full crashes. And with nfs they were gone. I tested a little on performance, which was okay.

No, we didn’t file bug Tickets.
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
Which developer forums? Did you file a bug ticket?
As a matter of interest: Most likely the issue with SMB and our Mac was caused by SMB multichannel.

We disabled that funtion and currently are not experiencing any issues on SMB.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
As a matter of interest: Most likely the issue with SMB and our Mac was caused by SMB multichannel.

We disabled that funtion and currently are not experiencing any issues on SMB.
Interesting. Did you have multichannel enabled on our server?
 
Joined
Jan 7, 2022
Messages
1
I have WIP commit to switch to the Linux NFS kernel server that will be merged into master / nightlies next week. Once it's in, you can try to see if the issue still exists.
Is there any update on the switch to the Linux NFS kernel server? I am running TrueNAS-SCALE-22.02-RC.2, and it looks like it is still using ganesha-nfs.
 
Top