Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have installed nfs-kernel-server on my ubuntu machine.
i exported a dir using exports file
sudo vim /etc/exports
/home/comp1/nfs_dir *(rw,sync,no_root_squash)
if i give exportfs command i can see the exported directory
On client side:
I created a directory in home folder called mou_nfs
i tried to mount exported dir into it using
sudo mount 192.168.1.100:/nfs_dir /home/comp2/mou_nfs
but i get error as mount: 192.168.1.100:/nfs_dir failed, reason given by server: Permission denied
even i tried mounting using
sudo mount -t nfs 192.168.1.100:/nfs_dir /home/comp2/mou_nfs
but, client was not allowed to connect to server..
'nfsboot' says:
Allow clients to boot over the network
This package help you to set up your host to allow clients to
boot over nfs.
This package should be installed on the server so that the clients
can connect to it. The package contains no server itself, but recommends
all packages that you will need in order to make nfsrooted clients
to work.
after installing this permission problem was solved..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.