LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SUSE 9.0 to 9.1 RC5 upgrade loses NFS mounts. (https://www.linuxquestions.org/questions/linux-newbie-8/suse-9-0-to-9-1-rc5-upgrade-loses-nfs-mounts-226285/)

pkelley5 09-03-2004 04:06 PM

SUSE 9.0 to 9.1 RC5 upgrade loses NFS mounts.
 
Upgraded my box from SUSE 9.0 to SUSE 9.1 RC5. It was very smooth, and all went well.

Let's say the IP address of the updated box was "110.22.330.44" Let's also say that I do the following:

#cd /
#mkdir nfsDir
#chmod 777 nfsDir

Now I switch terminals and go to a terminal that is running on a completely different, remote machine (which happens to be running SUSE 9.1 as well). Let's say it's IP address was "99.88.77.66" After logging in to the remote machine, I type the following:

#mkdir /mynfs
#mount 110.22.330.44:/nfsDir /mynfs

What I get back is:

mount: 110.22.330.44:/nfsDir failed, reason given by server: Permission denied

So my newbie question is, what steps must I perform so that the "mount 110.22.330.44/nfs /mynfs" command works?

Thanks,
Paul

btmiller 09-03-2004 04:23 PM

Did you set up your /etc/exports file and run exportfs? See 'man exports' for more details.

pkelley5 09-03-2004 05:30 PM

No. I didn't do that step. So thank you for the help.

Here's what I did:

#cd /etc
#vi exports

/* The "exports" file looks like this inside... */

/nfsDir *(rw,insecure,all_squash)

#exportfs -a


That's all I did, but now instead of getting the "Permission Denied" error, my remote Linux box just freezes up after typing:

#mount 110.22.330.44:/nfsDir /mynfs

Is my "exports" file wrong? Or did I miss a step?
-Paul

pkelley5 09-03-2004 05:55 PM

OK. I figured out what I did wrong.

On SUSE, you must go through YAST
select-> "NFS Server"
select->"Start NFS Server"
select->"Add directory" and then browse for the directory you want to publish.
select->"Finish"

and that's it!!! Everything's working now!!!

I love YAST!!!
-Paul


All times are GMT -5. The time now is 03:03 AM.