Linux: NFS4 mount Error reason given by server: No such file or directory

Posted on in Categories , , , last updated May 3, 2017

I recently installed NFS server v4 on my HP Linux server. However, I’m not able to mount it from Linux nfs4 client using the following command:

mount.nfs4 server2:/data /data

I’m getting the following error:

mount.nfs4: mounting server2:/data failed, reason given by server:
No such file or directory

How do I fix this problem?

What Ports Need To Be Open For Samba To Communicate With Other Windows/Linux Systems?

Posted on in Categories , , , , last updated March 31, 2017

What ports need to be open for Samba to communicate with other windows/linux systems? I need to configure Linux firewall so I need the exact port TCP and UDP port numbers for SMB/CIFS networking protocol. Can you provide me a list of ports along with sample iptables rules?