Link to home
Start Free TrialLog in
Avatar of chrisvo
chrisvo

asked on

SunOs and Solaris NFS mount problem

I'm trying to remount a directory from a SunOs 4.1.3 machine
onto a machine running Solaris 2.5.1
I used to be mounted fine, but since then I'm encountering the following error:
mount xxx.xxx.xxx.xxx:/home/public /public
nfs mount: xxx.xxx.xxx.xxx:/home/public: access denied

I've already tried running exportfs -a and ensured that
the client's ip is present in the /etc/exports file

Any help ?
Avatar of pxh
pxh

sounds like a easy thing to do. I have exactly the same done here. we would need to look more careful into details and also I do not really understand how to understand

"...used to be mounted fine, but since then I'm encountering the following ..."

Do you mean you could ever mount it that very way? What is "since then"?

For now I can only advice you to enter "exportfs" (without options) on the SunOS machine and also let me know the output. Also inform me how you presicely tried to do the mounting on the Solaris system.

I notice one difference between your and my approach: I use hostnames instead of IP numbers. It is more comfortable, but I wouldn't think that it is resposible for your prob. until I lokked into it.

Peter

ASKER CERTIFIED SOLUTION
Avatar of jlms
jlms

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If the automounter is really the problem, the advice to modify a /etc/rc2.d file may still not be the best, just imagine the automounter IS needed...

It is really better to comment out the line

/home           auto_home

in /etc/auto_master. Then type "automount" to make it reread the config and then also enter "umount /home"!

That should do the job on the Solaris 2.x system.

However, let's carefully read the question! Chrisvo is trying to mount to /public on the Solaris 2.5.1 system  and it should be irrelevant that he has a path /home/public on the SunOS 4.1.3 system.

I would also like to add that the automounter is not much more difficult to configure as the vfstab file and I would rather recommand to use it. However only if a manual mounting has been shown to work.

JMHO

Peter (pxh@mpe-garching.mpg.de)