Comment 19 for bug 604407

Revision history for this message
Kees Cook (kees) wrote : Re: Unable to mount NFS shares

Okay, I've got this locally reproduced now. Followed https://help.ubuntu.com/community/NFSv4Howto except for the maverick client, which needs idmapd started explicitly after editing /etc/default/nfs-common. Once that'd one, and using server bind mount, I get the same errors.

i.e. server filesystem layout is configured as such:

mkdir -p /srv/music
chown 1000:1000 /srv/music
mkdir -p /nfs4exports/music
chmod a+rwx,+t /nfs4exports
mount --bind /srv/music /nfs4exports/music

Now client attempts to mount :/music will fail.

I've tested the following, which fixes the issue:
http://kernel.ubuntu.com/git?p=kees/linux-2.6.git;a=commitdiff;h=2b8c4f0c59a14e795115b00e9c40dffcbd2ee1a7

Thanks again for the report and helping to debug it!