pyVision
A Machine Learning and Signal Processing toolbox

Download .zip Download.tar.gz View on GitHub


Mounting NFS Share on ubuntu 16.04 Client

We will look at the process of mounting the network file storage on ubuntu16.04 system client

On the client server, we need to install a package called nfs-common, which provides NFS functionality without including unneeded server components. Again, we will refresh the local package index prior to installation to ensure that we have up-to-date information:

sudo apt-get update
sudo apt-get install nfs-common

Creating the Mount Points on the Client

In order to make the remote shares available on the client, we need to mount the host directory on an empty client directory.

mkdir -p /tmp/disk2

Mounting the nfs share

sudo mount nfs_host:/mount /nfs/home

we can run df -h to verify that the mount is accessible

pi@server2:~$ df -h
Filesystem                                          Size   Used  Avail    Use% Mounted on
udev                                                     16G     0       16G       0%     /dev
tmpfs                                                   3.2G  305M  2.9G    10%  /run
/dev/xvda2                                         97G   36G    62G       37%  /
tmpfs                                                    16G     0       16G       0%   /dev/shm
tmpfs                                                   5.0M     0      5.0M     0%   /run/lock
tmpfs                                                    16G     0       16G       0%   /sys/fs/cgroup
/dev/xvda1                                         240M   83M 145M   37% /boot
tmpfs                                                   3.2G     0        3.2G      0%  /run/user/1000
/dev/xvdc1                                         99G     60M   94G       1%  /opt/miko/storage/disk1
nfs_host:/mount  500G  128K  500G   1% /opt/miko/storage/disk2

References

  • https://wiki.qnap.com/wiki/Mounting_an_NFS_share_on_Ubuntu
blog comments powered by Disqus