Solved

Mounting problems on Linux Advanced server

Posted on 2004-03-25
9
287 Views
Last Modified: 2013-12-16
Hi All,

I have some directories shared on one of my Solaris boxes using the following commands in dfstab file

/usr/sbin/share -F nfs -o rw -d "Firsts" /dir1
/usr/sbin/share -F nfs -o rw -d "Second" /dir2
/usr/sbin/share -F nfs -o log,rw -d "third" /dir3
/usr/sbin/share -F nfs -o rw -d "fourth" /dir4

I am trying to mount these directories on to my linux box using following commands in my fstab file on linux

sol:/dir1   /net/sol/dir1       nfs     tcp,retrans=20,async,nfsvers=3 0 0
sol:/dir2   /net/sol/dir2       nfs     tcp,retrans=20,async,nfsvers=3 0 0
sol:/dir3   /net/sol/dir3       nfs     tcp,retrans=20,async,nfsvers=3 0 0
sol:/dir4   /net/sol/dir4       nfs     tcp,retrans=20,async,nfsvers=3 0 0

Now, funny thing is that all the mounts are successful other the for dir3. permissions on all the directories on my solaris machine are same. I get the following error

mount: sol:/dir3 failed, reason given by server: Permission denied

what is going on here?


Thanks
Ajay

PS :
1. On solaris box i do not have admin rights. I can just give poiters to my IT dept. To me it "log,rw" seems suspecious.
2. These directories can be successfully mounte on all ther boxes like - HP, solaris, AIX.




0
Comment
Question by:avi_india
  • 4
  • 3
  • 2
9 Comments
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10683960
will this be the problem on 'log', what if you use /usr/sbin/share -F nfs -o rw -d "third" /dir3 in your solaris, and see whether the mount have the problem or not, if no problem than it's something abt the 'log'.
0
 

Author Comment

by:avi_india
ID: 10683981
As I have written :

Even I suspect it could be problem with "log" but also - I AM able to mount the directries over other machine.

So the real question is :

how linux differs in  this regard with other systems??
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10684163
so if remove the 'log' can it be working? just to ensure, if remove the log still not working than there will be another issue.
0
 

Author Comment

by:avi_india
ID: 10684175
Why I am able to mount these directories on other machines?? like HP, solaris/AIX?????
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 12

Expert Comment

by:paullamhkg
ID: 10684662
That's why I'm thinking may not be the problem of 'log', need to clarify.

Since HP/AIX/Solaris similar to linux should not have such issue
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10690242
I don't think it is the presence of the "log" option, per se, that's the problem. I set up a test share on a Solaris 8 and a Solaris 9 system like:

share -F nfs -o log,rw /nfs0/testit

and mounted it on an RHEL 3.0 WS workstation with:

mount -o tcp,retrans=20,async,nfsvers=3 sol-server:/nfs0/testit /mnt/nfs

I don't see anything in the Solaris man pages for share_nfs or nfslogd that indicate that including the "log" option would cause a problem. The only thing that occurs to me that might be an issue, even though the man page for nfslogd indicates otherwise, would be if the Solaris server can't do a reverse lookup on the IP of the Linux box.
0
 

Author Comment

by:avi_india
ID: 10690262
It could have been a possiblity.. but then how I am able to mount other shares from the same solaris box??
0
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 10690433
They aren't doing logging. If it has to do with a reverse lookup failure the lack of logging wouldn't affect those.

And again, according to the man pages this shouldn't be an issue. But given that the exported volume with logging is the only one failing and that nfslogd is going to attempt a reverse lookup I thought that might be a cause of the failure.
0
 

Author Comment

by:avi_india
ID: 10690453
thats the ans.. :)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now