Ubuntu 13.04
Sponsored Link

Configure NFS Client2013/05/10

 
Configure NFS Client to be able to mount shared directory from NFS server.
[1] Configure NFS Client
root@client:~#
aptitude -y install nfs-common
root@client:~#
vi /etc/idmapd.conf
# line 6: uncomment and change to your domain name

Domain =
srv.world
root@client:~#
initctl restart idmapd

idmapd start/running, process 2431
root@client:~#
mount -t nfs nas01.srv.world:/home /home

root@client:~#
df -h

Filesystem                Size  Used Avail Use% Mounted on
/dev/mapper/www--vg-root   18G  964M   16G   6% /
none                      4.0K     0  4.0K   0% /sys/fs/cgroup
udev                      992M  4.0K  992M   1% /dev
tmpfs                     201M  236K  201M   1% /run
none                      5.0M     0  5.0M   0% /run/lock
none                     1002M     0 1002M   0% /run/shm
none                      100M     0  100M   0% /run/user
/dev/vda1                 228M   30M  187M  14% /boot
nas01.srv.world:/home   18G  1.1G   16G   7% /home
# home directory on NFS is mounted
root@client:~#
vi /etc/fstab
# add at the last: change home directory this server mounts to the one on NFS

nas01.srv.world:/home   /home  nfs     defaults        0       0
Matched Content