setclientid: string in use by client

Trond Myklebust trond.myklebust at fys.uio.no
Mon Mar 5 16:56:31 EST 2007


On Mon, 2007-03-05 at 14:59 -0600, Rene Salmon wrote:
> Hi list,
> 
> 
> I really need to track this down and figure out what the problem is.
> following are the messages I get in syslog and here is the code segment from
> nfs4state.c in the server kernel.
> 
> if (!cmp_creds(&conf->cl_cred, &rqstp->rq_cred)
>                                 || conf->cl_addr != ip_addr) {
>                         printk("NFSD: setclientid: string in use by client"
>                         "(clientid %08x/%08x)\n",
>                         conf->cl_clientid.cl_boot, conf->cl_clientid.cl_id);
>                         goto out;
>                 }
> 
> 
> From the syslog I can see that I get this message for all kinds of different
> client_id's but they all have the same cl_boot number?  So My question is
> what can cause this message?  Would changing:
> 
> conf->cl_clientid.cl_boot, conf->cl_clientid.cl_id);
> 
> to 
> 
> conf->cl_clientid.cl_addr, conf->cl_clientid.cl_id);
> 
> Print the IP address of the offending node?  Please help!!!

The message just means that a client that rebooted has tried to
re-establish the same clientid as last time, but using a different
credential.
Normally, the client in question should be able to work around this by
changing its clientid. Unless you are seeing a case where the clients
are actually unable to open files etc, this message can, and should be
ignored.

Bruce, could you please convert that to a dprintk()? There is absolutely
no reason to be printing out these "error messages" in stable kernels
unless there are known bugs that need to be identified and fixed.

Cheers
  Trond



More information about the NFSv4 mailing list