Comments on: How to Install NFS Server and Client on Ubuntu 22.04 https://www.tecmint.com/install-nfs-server-on-ubuntu/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 04 Sep 2023 05:10:39 +0000 hourly 1 By: Chris https://www.tecmint.com/install-nfs-server-on-ubuntu/comment-page-1/#comment-1795438 Sat, 14 May 2022 13:43:17 +0000 https://www.tecmint.com/?p=36398#comment-1795438 Great article, is it possible to mount this share on a windows server or desktop?

]]>
By: Roger https://www.tecmint.com/install-nfs-server-on-ubuntu/comment-page-1/#comment-1603581 Wed, 06 Oct 2021 09:41:46 +0000 https://www.tecmint.com/?p=36398#comment-1603581 It’s not true that “NFS is rarely used nowadays”. The only reason to use Samba is having to share files with Microsoft Windows systems. If all the machines that need to share files are running Linux, NFS is a more efficient solution than Samba and is also simpler to install.

]]>
By: Myunggi Yi https://www.tecmint.com/install-nfs-server-on-ubuntu/comment-page-1/#comment-1534756 Fri, 02 Jul 2021 01:13:02 +0000 https://www.tecmint.com/?p=36398#comment-1534756 I’m adding a new cluster, and I want to share /data of an old cluster with the new cluster too.

I’m trying to set up NFS on two computer clusters. Let’s say A and B (new) for each head node in the cluster. Compute nodes A1, A2 shares /home and /data from A, and compute nodes B1, B2 shares /home from B but /data from “A”.

In another word, cluster A, B shares its own /home, but /data of A is shared through the whole cluster A and B. In order to do this, I did set up NFS and IP/Mask with the following way to achieve the goal (All computers are connected to one network switch).

A with one external IP/24 (eht0) and one with 10.0.0.1/16 (eth1). exports setup of A:

/home 10.0.0.0/24(rw,no_subtree_check,fsid=10,no_root_squash)
/data 10.0.0.0/16(rw,no_subtree_check,fsid=11,no_root_squash)

stab of A

/dev/sda1 /data xfs defaults 0 0

A1 IP with 10.0.0.2/16, A2 IP with 10.0.0.3/16 fstab of A1’s

10.0.0.1:/home /home nfs ... 10.0.0.1:/data /data nfs

B with its one external IP/24 (eht0) and one with 10.0.1.1/24 (eth1).

exports setup of B

/home 10.0.1.0/24(rw,no_subtree_check,fsid=13,no_root_squash)

fstab of B

10.0.0.1:/data /data nfs

B1 with 10.0.1.2/24, B2 with 10.0.1.3/24 … 10.0.1.1:/home /home nfs 10.0.0.1:/data /data nfs

I thought my goal can be achieved simply by IP/Mask, but it doesn’t work. I can mount /data of A on B’s compute nodes, but I cannot mount /home of its own B on B’s compute nodes.

How can I set up the network and NFS to achieve my goal?

]]>
By: James Kiarie https://www.tecmint.com/install-nfs-server-on-ubuntu/comment-page-1/#comment-1485144 Mon, 03 May 2021 09:32:19 +0000 https://www.tecmint.com/?p=36398#comment-1485144 In reply to Pedro.

Hey Pedro, it seems the UFW firewall is not installed on your system, in which case you need to install it using the command:

$ sudo apt install ufw

Then enable it as follows:

$ sudo  ufw enable
]]>
By: Pedro https://www.tecmint.com/install-nfs-server-on-ubuntu/comment-page-1/#comment-1484117 Fri, 30 Apr 2021 13:42:00 +0000 https://www.tecmint.com/?p=36398#comment-1484117 Hi,

"sudo: ufw command not found"

Can I help me?

I need free access to specific IP.

]]>