Permission problem with NFSv4 mount

Mike Brodbelt mike at last.fm
Tue Feb 24 13:29:48 EST 2009


Tom Haynes wrote:
> On Tue, Feb 24, 2009 at 06:03:21PM +0000, Mike Brodbelt wrote:
>> I have a problem with permissions on an NFSv4 export.
>>
>> Server is Solaris (Sun 7410 storage appliance), client is Linux (Debian
>> Lenny, kernel 2.6.26-1-amd64).
>>
>> On the Linux side, mount entry is as follows:-
>>
>> 10.0.0.43:/export/filesys /db/data        nfs4    noatime,sec=sys 00
>>
>> I have configured the idmap domain on the storage appliance, and in
>> /etc/idmapd.conf on the client, and have started the idmapd service on
>> the storage appliance, and on the Linux client.
>>
>> The export mounts fine on the client, however I cannot write to it as a
>> non root user. As root, writes work fine (root squash on the server has
>> been disabled for this export). So:-
> 
> What is the export?

I'm not sure what you mean... It's exported r/w, with anon users mapped
to nobody, and root access explicitly allowed from the client in question.

> Does this work for NFSv3?

Yes, with NFSv3 it works as expected, but the performance isn't good
enough for our app with NFSv3.

Mike


More information about the NFSv4 mailing list