-   Linux - Newbie (
-   -   SUSE 9.0 to 9.1 RC5 upgrade loses NFS mounts. (

pkelley5 09-03-2004 05: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 "" 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?


btmiller 09-03-2004 05:23 PM

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

pkelley5 09-03-2004 06: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?

pkelley5 09-03-2004 06: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.

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

I love YAST!!!

All times are GMT -5. The time now is 07:08 PM.