Page 1 of 1

Mount the NFS share on the client

Posted: Thu Feb 13, 2025 7:00 am
by Rina7RS
Start NFS services
Enable the NFS server to start at boot: sudo systemctl Enable nfs-kernel-server DebianUbuntu or sudo systemctl Enable nfs RHELCentOS.
Restart the NFS server to apply the changes: sudo systemctl restart nfs-kernel-server DebianUbuntu or sudo systemctl restart nfs RHELCentOS.
Check the status of the NFS server: sudo systemctl status nfs-kernel-server DebianUbuntu or sudo systemctl status nfs RHELCentOS.
Open firewall ports if applicable
Allow NFS service through firewall: sudo ufw allow from 192.168.1.024 to any nfs port if using UFW or sudo firewall-cmd –permanent –add-service=nfs && sudo firewall-cmd –reload if using firewall.
[*]Create a mount point: sudo mkdir mntnfs_share.
Mount the NFS share:
Either mount with sudo mount 192.168.1.1:shared_directory mntnfs_share OR
Define the share in etcfstab with a line like jordan telegram dataserver_ip:shared_directory local_mount_point nfs auto,nofail,defaults 0 0 - it will be automatically mounted on boot or if you run sudo mount -a will attempt to mount all etc mounts defined by fstab, except those that have noauto in their mount options.
Check the mount: df -h
Windows 1011Server
Enable NFS server function
Windows server
Open Control Panel.
Go to Programs > Turn Windows features on or off .
Scroll down and check Services for NFS .
Click OK and wait for the installation to complete.
Windows 1011
Open the Settings app .
Go to Apps > More features .
Click View Features next to Add an Extra Feature .
Find services for NFS .