Solved

Mounting problems on Linux Advanced server

Posted on 2004-03-25
9
288 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 83
Codiing Non-Existent Links 4 65
Why isnt it sending mail from my php but is from my server 10 33
Help on running oracle SQL script in linux 3 27
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

929 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

7 Experts available now in Live!

Get 1:1 Help Now