On Sat, 2002-12-28 at 00:09, Ian wrote:
> Hey all,
> 
> i've got 2 redhat machines. I'm trying to mount on one machine and having 
> one hell of a problem.
> 
> mount machine:/ /machine/
> mount machine:/disk/export /machine/disk/export
> 
> the above 2 mount statements will work.
> 
> mount machine:/disk /machine/disk
> 
> that mount statement does not work, regardless of what i put in the exports 
> file on machine. The error message in the log file on machine is:
> 
> rpc.mountd: authenticated mount request from 121.121.121.121:1012 for /disk 
> (/disk)
> rpc.mountd: getfh failed: Operation not permitted
> 
> When i run exportfs -a on machine, i get:
> machine2:/disk: Invalid argument
> 
> I dont even have anything in the exports file anymore allowing machine2 to 
> mount machine:/disk and it still gives me that message when i do exportfs
> 
> Can ANYONE give me some suggestions as to how to clear this up? Someone who 
> knows a hell of a lot more about linux then i do thinks it has something to 
> do with something be stuck inside the kernel. I'm not using his exact 
> words. He recompiled and installed a different version of the kernel but 
> that hasnt helped.
> 
> I've tried rebooting. I've tried using the machine name, the machine 
> name.domain, and the IP address in the export file. I've rebooted the 
> machine. restarted nfs. Nothing seems to work.
> 
> I dont understand why i can mount / and /disk/export, but not /disk
> 
> any suggestions?

It's late for me, and my ability to think is probably sadly
diminished.   First thing is make sure that portmap is running on both
sides, second make sure that you mount them in order.

i.e.:

  mount m:/ /m
  mount m:/disk /m/disk
  mount m:/disk/export /m/disk/export

also, if you mount /m/disk/export first - to any directory, you will not
be able to mount /m/disk.  

  It has been my experience that you need to maintain the hierarchy w/
nfs, then everything is rosy.

js


-- 
VB programmers ask why no one takes them seriously, 
it's somewhat akin to a McDonalds manager asking employees 
why they don't take their 'career' seriously.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to