77
Create a mount point for the remote resource using the mkdir command:
# mkdir –p /local/directory
root@ubuntu:~# mkdir -p /home/NAS540
root@ubuntu:~# cd /home
root@ubuntu:/home# ls
NAS540
Mount share of NAS540:
# mount –t nfs ServerName:/remote/directory /local/directory
root@ubuntu:/home# mount -t nfs 10.59.4.56:/i-data/9144e738/nfs/NAS540 /home/NAS540
where ServerName is the name of the NFS server, /remote/directory is the directory on the NFS
server you want to mount, and /local/directory is the mount point on the NFS client.
To check the amount of disk space for each mount you have:
#df
root@ubuntu:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 19478204 3560164 14921944 20% /
none 4 0 4 0% /sys/fs/cgroup
udev 504924 4 504920 1% /dev
tmpfs 102628 784 101844 1% /run
none 5120 0 5120 0% /run/lock
none 513136 156 512980 1% /run/shm
none 102400 36 102364 1% /run/user
10.59.4.56:/i-data/9144e738/nfs/NAS540 309637120 4512288 305124832 2%
/home/NAS540