[Ilugc] Unable to mount folders exported by NFS Server
linuxdassa at gmail.com
Wed Dec 10 22:16:09 IST 2008
i don't have the whole mail thread with me, but i'll try to give you a
simple solution for you.. :-)
In NFS server, put the following line (replace "your_directory" with your
# vim /etc/exports
then export the shares, restart the portmap and nfs server.
for the time being issue the permission as world read and writeable (chmod
-R 777) to that directory.
inside that directory you create two more directories.
# mkdir /your_directory/sub1 (like wise)
Install the nfs-common libraries (pdgs) in the client machines.
change the following files (in clients).
portmap : your_server_ip
portmat : ALL
this should be the IP address, not the hostname.
log out and log in (if you really need)...
try to mount the share manually.
# mount your_nfs_server_ip:/your_directory_sub1 /your_client_mont_point
if you can view the mounted share by cd /your_client_mount_point you've done
if you want to auto mount the particular share every time the computer
boots, put that mount point in /etc/fstab.
# vim /etc/fstab
server_ip:/your_directory_sub1 /your_client_mount_point nfs rw,hard,intr
do the same with the other client.
i'm sending this mail on the run.. update the list if you encounter any
Step to the future with FOSS!
My Blog : http://blog.mihikatha.net/
සිංහළ blog සටහන්: http://anuradha-life.blogspot.com/
My Photo Galleries : http://www.flickr.com/photos/dasun
More information about the ilugc