Linux NFS development
 help / color / mirror / Atom feed
* clientid is in use
@ 2013-08-02 16:15 Harry Edmon
  2013-08-04 19:20 ` Chuck Lever
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Edmon @ 2013-08-02 16:15 UTC (permalink / raw)
  To: linux-nfs

Occasionally I am seeing the following in our kernel log on a NFS client:

[2321389.137595] NFS: Server enkf reports our clientid is in use
[2321389.137615] NFS: state manager: lease expired failed on NFSv4 server enkf 
with error 1

The result is that the read of the file in question fails.   This occurs for 
multiple kernel versions on multiple machines.  Anyone have an idea how I should 
start debugging this?  How is the clientid calculated/assigned?
-- 
Dr. Harry Edmon
harry@uw.edu, 206-543-0547, FAX: 206-543-0308
Director of IT, College of the Environment and
Director of Computing, Dept of Atmospheric Sciences
University of Washington, Box 351640, Seattle, WA 98195-1640

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: clientid is in use
  2013-08-02 16:15 clientid is in use Harry Edmon
@ 2013-08-04 19:20 ` Chuck Lever
  2013-10-31 21:22   ` Harry Edmon
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Lever @ 2013-08-04 19:20 UTC (permalink / raw)
  To: Harry Edmon; +Cc: linux-nfs


On Aug 2, 2013, at 12:15 PM, Harry Edmon <harry@uw.edu> wrote:

> Occasionally I am seeing the following in our kernel log on a NFS client:
> 
> [2321389.137595] NFS: Server enkf reports our clientid is in use
> [2321389.137615] NFS: state manager: lease expired failed on NFSv4 server enkf with error 1
> 
> The result is that the read of the file in question fails.   This occurs for multiple kernel versions on multiple machines.  Anyone have an idea how I should start debugging this?  How is the clientid calculated/assigned?

It depends on the kernel version.  You can look in fs/nfs/nfs4proc.c for the nfs4_proc_setclientid function.

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: clientid is in use
  2013-08-04 19:20 ` Chuck Lever
@ 2013-10-31 21:22   ` Harry Edmon
  2013-11-01 16:38     ` Chuck Lever
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Edmon @ 2013-10-31 21:22 UTC (permalink / raw)
  To: linux-nfs

On 08/04/13 12:20, Chuck Lever wrote:
> On Aug 2, 2013, at 12:15 PM, Harry Edmon <harry@uw.edu> wrote:
>
>> Occasionally I am seeing the following in our kernel log on a NFS client:
>>
>> [2321389.137595] NFS: Server enkf reports our clientid is in use
>> [2321389.137615] NFS: state manager: lease expired failed on NFSv4 server enkf with error 1
>>
>> The result is that the read of the file in question fails.   This occurs for multiple kernel versions on multiple machines.  Anyone have an idea how I should start debugging this?  How is the clientid calculated/assigned?
> It depends on the kernel version.  You can look in fs/nfs/nfs4proc.c for the nfs4_proc_setclientid function.
>
I am still occasionally seeing this error.   The last time was with the NFS client and server both running kernel 3.11.6.   The message was on the client.   Here is the mount info from /proc/mounts:

margaret:/home/margaret/margaret /home/disk/margaret nfs4
rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=140.142.113.26,local_lock=none,addr=128.95.89.30
0 0

I am still looking for ideas on how to debug this.

-- 
Dr. Harry Edmon
harry@uw.edu, 206-543-0547, FAX: 206-543-0308
Director of IT, College of the Environment and
Director of Computing, Dept of Atmospheric Sciences
University of Washington, Box 351640, Seattle, WA 98195-1640

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: clientid is in use
  2013-10-31 21:22   ` Harry Edmon
@ 2013-11-01 16:38     ` Chuck Lever
  0 siblings, 0 replies; 4+ messages in thread
From: Chuck Lever @ 2013-11-01 16:38 UTC (permalink / raw)
  To: Harry Edmon; +Cc: linux-nfs


On Oct 31, 2013, at 5:22 PM, Harry Edmon <harry@uw.edu> wrote:

> On 08/04/13 12:20, Chuck Lever wrote:
>> On Aug 2, 2013, at 12:15 PM, Harry Edmon <harry@uw.edu> wrote:
>> 
>>> Occasionally I am seeing the following in our kernel log on a NFS client:
>>> 
>>> [2321389.137595] NFS: Server enkf reports our clientid is in use
>>> [2321389.137615] NFS: state manager: lease expired failed on NFSv4 server enkf with error 1
>>> 
>>> The result is that the read of the file in question fails.   This occurs for multiple kernel versions on multiple machines.  Anyone have an idea how I should start debugging this?  How is the clientid calculated/assigned?
>> It depends on the kernel version.  You can look in fs/nfs/nfs4proc.c for the nfs4_proc_setclientid function.
>> 
> I am still occasionally seeing this error.   The last time was with the NFS client and server both running kernel 3.11.6.   The message was on the client.   Here is the mount info from /proc/mounts:
> 
> margaret:/home/margaret/margaret /home/disk/margaret nfs4
> rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=140.142.113.26,local_lock=none,addr=128.95.89.30
> 0 0
> 
> I am still looking for ideas on how to debug this.

The server is reporting that your clients are using the same client ID.  The client ID is based on the client's hostname.  Are your clients dynamically named?

The description of the nfs4_unique_id parameter in linux/Documentation/filesystems/nfs/nfs.txt might be helpful.

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-01 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 16:15 clientid is in use Harry Edmon
2013-08-04 19:20 ` Chuck Lever
2013-10-31 21:22   ` Harry Edmon
2013-11-01 16:38     ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox