LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 09-03-2004, 04:06 PM   #1
pkelley5
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 09-03-2004, 04:23 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Did you set up your /etc/exports file and run exportfs? See 'man exports' for more details.
 
Old 09-03-2004, 05:30 PM   #3
pkelley5
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 09-03-2004, 05:55 PM   #4
pkelley5
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backgrounding NFS mounts kaplan71 Linux - Networking 2 02-22-2015 09:13 PM
boot problem: NFS mounts before name server, SUSE 9.2 Pro bho Linux - Networking 0 02-07-2005 11:01 AM
NFS client loses shares tomanthony Linux - Networking 0 09-16-2004 11:33 AM
NFS SMB common mounts greno Linux - Networking 1 06-02-2004 05:51 PM
cannot get nfs mounts to work iggymac Linux - Networking 0 08-10-2001 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration