[CentOS] Why portmap is needed for NFSv4 in CentOS6

Mon Oct 29 07:46:15 UTC 2012
C. L. Martinez <carlopmart at gmail.com>

On Sat, Oct 27, 2012 at 6:26 PM, Gordon Messmer <yinyang at eburg.com> wrote:
> On 10/24/2012 03:25 AM, C. L. Martinez wrote:
>>   I have setup a CentOS6.3 x86_64 host to act as a nfs server.
>> According to RHEL6 docs, portmap is not needed when you use NFSv4, but
>> in my host I need to start rpcbind service to make NFSv4 works.
> I wasn't previously aware of that, but I just stopped rpcbind on both my
> CentOS 6 server and Fedora 17 workstation, and was able to mount /home
> by NFS.
> Is your client mounting NFS4 by default, or configured to do so correctly?

Yes, all clients are configured to tuse nfsv4. Strange, if rpcbind
process is stopped after nfs services are up, all works, but if
rpcbind is stopped, nfs services doesn't go up ... I don't understand
why rpcbind service needs to be up to start nfs services with you use
nfsv4 only ...