Ubuntu Linux NFS Client Configuration to mount nfs share
Since I am not networking professional I was nervous about using nfs share. Desperately I wanted to access my files over network using Ubuntu NFS. Our IT folks not working today due to weekend holiday.
Ubuntu NFS
After searching net, I discover that you need two packages to mount nfs share under Ubuntu Linux.
So, I did Install necessary support for nfs client side i.e. portmap and nfs-common package. Type following command to install packages:
sudo apt-get install portmap nfs-common
Now mount server.mydomain.com:/network/officedocs to /home/me/myfiles
cd
mkdir myfiles
sudo mount server.mydomain.com:/network/officesdocs /home/me/myfiles
Note you may need to restart above services:
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-common restart
How do I access my files using NFS?
Just go to mount point i.e. myfiles with cd command:
cd myfiles
ls
gedit file.c
May be next time I will get my hands dirty with NFS server
Recourses
Following recourses helped me to configure NFS
This is a user contributed article.
You may also be interested in other helpful articles:
- Best Linux / UNIX Posts of 2007: Part ~ I
- NFS Stale File Handle error and solution
- How to mount remote windows partition (windows share) under Linux
- How to: Linux reset the permissions of the installed rpm packages with –setperms option
- Mounting with an alternative superblock
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: linux nfs, linux_nfs_howto, mount_nfs, nas server, nfs_client, nfs_protocol, nfs_server, ubuntu nfs client howto, ubuntu_linux, ubuntu_nfs



Thanks. You made it really simple for me. I am new to Ubuntu and hoping to get away from Microsoft, so long as help is around. Thanks!
I get permission denied when changing to the nounted directory, yet it works fine as root?
This is a permission problem. Setup a correct permission using chmod command on exported directory. Or map user id using map_static option.
Thanks for sharing. SuSE has a gui wizard to handle NFS client and server config. I thought I was going to have give up some features.
Thanks again.
hi
I need of the linux advance server and trubleshooting book in pdf format ver urgent.please send me in my mail id is shanmugam.jayapal@gmail.com