Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS PERMISSIONS PROBLEMS

Status
Not open for further replies.

stovie

Technical User
Apr 7, 2003
32
US
Hi. I am trying to mount the whole root partition from my sco openserver 5.0.4 to a RedHat Linux machine. I have editted the /etc/exports file on the sco machine with the following line:

/ 216.181.115.33(rw)

216.181.115.33 is the ip of the Linux machine

I started nfs on the sco machine by typing (nfs start) at the command line.

I then start the nfs service on the Linux machine by typing (service nfs start) at the command line.

Both machines can ping each other

The problem occurs when I try to mount the sco root partition from the Linux machine. The following is the command and error:

mount -t nfs 216.181.115.40:/ /mnt
mount:216.181.115.40:/ failed, reason given by server: Permission denied

Where should I be looking to correct this problem?
 
On the sco box
Put a line in /etc/hosts like this:
Code:
216.181.115.33  rhbox
Modify the line in /etc/exports like this:
Code:
/ -rw=rhbox,root=rhbox
Add the following line in /etc/hosts.equiv:
Code:
rhbox
On the linux box
Put a line in /etc/hosts like this:
Code:
216.181.115.40  scobox


Hope This Help
PH.
 
PHV,

Thanks. Now nfs works like a charm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top