NFS Shares listed instead of SMB

ericfoss

Cadet
Joined
Mar 21, 2018
Messages
9
I'm running TrueNAS-SCALE-22.02.0 and for some reason my NFS shares are listed when viewing server in Windows 10 file explorer. If I stop the NFS service, the server disappears from Windows. How could NFS shares be seen in Windows?

sudo showmount -e localhost​

Export list for localhost:
/mnt/local-raid/nfs *
/mnt/local-raid/cloud 192.168.1.16

smbclient -L \\\\192.168.1.10​

protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED

tail /var/log/samba4/log.smbd​

[2022/02/23 14:00:43, 1] ../../lib/param/loadparm.c:1766(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The "syslog only" option is deprecated
[2022/02/23 14:00:43.796252, 0] ../../source3/smbd/server.c:1734(main)
smbd version 4.15.5-TrueNAS started.
Copyright Andrew Tridgell and the Samba Team 1992-2021
[2022/02/23 14:00:43.797437, 1] ../../lib/param/loadparm.c:1766(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The "syslog only" option is deprecated
[2022/02/23 14:00:43.801232, 1] ../../source3/profile/profile.c:54(set_profile_level)
INFO: Profiling turned OFF from pid 481116
[2022/02/23 14:00:43.817478, 0] ../../source3/smbd/server.c:1082(smbd_open_one_socket)
smbd_open_one_socket: open_socket_in failed: Address already in use
[2022/02/23 14:00:43.817673, 0] ../../source3/smbd/server.c:1082(smbd_open_one_socket)
smbd_open_one_socket: open_socket_in failed: Address already in use
 

ericfoss

Cadet
Joined
Mar 21, 2018
Messages
9
Well, I don't know how to check, but `get-nfsshare` is not a known cmdlet. Does that mean I haven't enabled it?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
You'd have to ask your local Windows washers. I don't really do Windows. You asked how NFS shares could be seen in Windows, which is an odd question that occasionally pops up here because apparently almost nobody knows that Windows supports NFS. But the details are left as an exercise to the reader, at which point you'll know more about it than I.
 
Joined
Oct 22, 2019
Messages
3,641
Are you using Windows 10 Pro? I don't believe this is available with the Home Edition.

Either way, you can check (or disable):

Control Panel -> Programs and Features -> Turn Windows features on or off -> Locate "NFS Services" or "Services for NFS" -> uncheck it
 

ericfoss

Cadet
Joined
Mar 21, 2018
Messages
9
which is an odd question that occasionally pops up here because apparently almost nobody knows that Windows supports NFS.
This is news to me and seems to be part of my problem. With winnielinnie's help I did uninstall the client feature and booted into Ubuntu. I still can't connect to the smb shares, but at least I'm not wondering why I'm seeing NFS.
 
Top