Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 can no longer mount my NFS folder. I get mount failed, reason given by server: permission denied. I went onto my server and I brought up the NFS service and I already allow read/write to all hosts with ip of 10.10.10.*. Since all my computers on my network can no longer mount I decided to add the full IP and I was able to mount but every folder I saw had a pencil in hand with red circle and diagonal slash... After I went through the NFS server config I restarted nfs service and still nothing. I can ping my server, ssh to it, all hosts on my network are in my /etc/hosts file and mount info is in fstab... This all worked before and it suddenly just stopped.
What set up do you have? Can you post your /etc/exports file? Who are you mounting the file share as? and the folders that have the pencil and the circle and cross through it are because you don't have full permissions on these folders.. so what are the permissions on these folders?
I'm running CentOS and the computer with the shared folder is Red hat. It's basically a shared folder that contains my code and documents so I can access them from any computer. I'm root on all machines. I've done all the same steps but now it gives me permission denied. The permission denied icon has never showed up before, it appeared when I added in a specific IP to the NFS service config.
The IP change might be creating this problem, if it is a DHCP server (Dynamic IP). If it is Static IP, then until unless, it is already in use, you should not face any such problem.
Since you are the root over all the machines, and these steps didn't give you such problem earlier, then it can be assumed that the IP you have used is not accessing the network completely. Are you the person to select static IP address as well ? Is it a reserved IP address that you are trying to use ?
If the /etc/exports file is blank then no file systems will actually be exported and no clients will be able to mount them. You need to create valid information inthis file to tell the NFS server what to export. See "man 5 exports" for more details.
Ah, I made a mistake. I was looking at my /etc/exports file, not the file on the server. My server file is similar to the example only it has the same parameters as I entered in the NFS service config. Looks like this: