nfs mount problem

Tom H tomh0665 at gmail.com
Thu Sep 23 15:31:38 UTC 2010


On Thu, Sep 23, 2010 at 8:49 AM, Alvin <info at alvin.be> wrote:
> On Thursday 23 September 2010 14:34:41 Brian Wootton wrote:
>> I can't for the life me get an nfs mount to work,
>> this is the entry I've put in /etc/exports:
>>
>> /pub/brian      meg(ro,insecure,all_squash,sync,no_subtree_check)
>>
>> which at least generates no errors from the server nfs daemon, but
>> all I get from the mount command on the client is 'access denied by
>> server'. mutter, mutter.
>> I've tried ip addresses, I've tried a multitude of differnet options(in-
>> cluding none), makes no difference, still get access denied by server
>> on the client machine.
>>   I've read 'man exports' until my eyes water. I found some useful
>> howtos on google, but still 'access denied by server'.
>>   If any-one has a magic entry for me to try I'd be glad to try it, or any
>> helpful hints.
>
> Please give us some extra information (if it's there), like:
> - Command used to mount the share
> - Other lines in /etc/exports
> - Changes you did in other files (/etc/default/nfs-common, /etc/idmap.conf)
> - Is the portmap daemon running?
> - Do you have nfs-common installed on the client and nfs-kernel-server on the
> server?
> - What does 'showmount -e' on the server tell you?
>
> I see you use the insecure option? The only use of that option that I know of
> is the NFS kioslave, but that will not work in your case because your share is
> a subdirectory. [1]
>
> [1] https://bugs.launchpad.net/bugs/385514

I just assumed that it might be an nfsv4 "root fs" problem but this is
a more comprehensive and "holistic" approach.

I would add "rpcinfo -p" on the server.

The "insecure" option is needed if you have OS X clients.




More information about the kubuntu-users mailing list