Solved

Mounting problems on Linux Advanced server

Posted on 2004-03-25
9
291 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:avi_india
ID: 10684175
Why I am able to mount these directories on other machines?? like HP, solaris/AIX?????
0
 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 76
bash file 10 51
Intel fortran compiler (ifort) 5 38
how to include conditional log rotate in liunx. 17 41
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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 …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

820 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