$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 119.5G 0 disk └─sda1 8:1 1 119.5G 0 part sudo umount /dev/sda1 sudo mkfs.ext4 /dev/sda1 sudo mkdir /media/nfstorage sudo chown nobody.nogroup -R /media/nfstorage sudo chmod -R 777 /media/nfstorage blkid # Copy UUID=”a13c2fad-7d3d-44ca-b704-ebdc0369260e” sudo vi /etc/fstab # Add the following line to the bottom of the fstab file: UUID=a13c2fad-7d3d-44ca-b704-ebdc0369260e /media/nfstorage ext4 defaults 0 2 # NFS server is installed sudo apt-get install -y nfs-kernel-server sudo vi /etc/exports # add the following line at the bottom /media/nfstorage 172.19.181.0/24(rw,sync,no_root_squash,no_subtree_check) sudo exportfs -a # On each node p1,p2,p3,pN sudo apt-get install -y nfs-common sudo mkdir /media/nfstorage sudo chown nobody.nogroup /media/nfstorage sudo chmod -R 777 /media/nfstorage # Set up automatic mounting by editing your /etc/fstab: sudo vi /etc/fstab # Add this line to the bottom: 172.19.181.254:/media/nfstorage /media/nfstorage nfs defaults 0 0 sudo mount -a