* Debian kernel: "Server nfs-home reports our clientid is in use"
@ 2015-08-06 6:40 Harald Dunkel
2015-08-11 7:09 ` Harald Dunkel
0 siblings, 1 reply; 5+ messages in thread
From: Harald Dunkel @ 2015-08-06 6:40 UTC (permalink / raw)
To: linux-nfs
Hi folks,
I have to admit I am running Wheezy and a Debian backport kernel
(3.16.7-ckt11-1~bpo70+1) on my NFServer and the clients, but maybe
somebody on this list can help.
Problem: Since the kernel upgrade it happens that a client looses
the NFS connection sometimes. The error message in kern.log on the
client says
Jul 30 15:53:57 dpcl082 kernel: [2880660.867248] NFS: Server nfs-home reports our clientid is in use
Jul 30 15:53:57 dpcl082 kernel: [2880660.867254] NFS: state manager: lease expired failed on NFSv4 server nfs-home with
Jul 30 15:54:54 dpcl082 kernel: [2880717.424872] NFS: Server nfs-home reports our clientid is in use
Jul 30 15:54:54 dpcl082 kernel: [2880717.424878] NFS: state manager: lease expired failed on NFSv4 server nfs-home with
Jul 30 15:55:01 dpcl082 kernel: [2880724.526741] NFS: Server nfs-home reports our clientid is in use
Jul 30 15:55:01 dpcl082 kernel: [2880724.526748] NFS: state manager: lease expired failed on NFSv4 server nfs-home with
:
:
The problem does not go away on its own. I have to umount and mount
/home on the client to get write access again. /var/log/kern.log on
the server doesn't mention this incident.
Since I saw "NFSv4.1: Fix client id trunking on Linux" introduced
early this year in the official kernel and included with 3.16.7-ckt7-1
into Debian's kernel I wonder if this rings a bell somewhere?
By now I saw this problem 4 times within the last week. I have more
than 100 NFS clients running 24/7, using a static NFS mount of /home
and /data. The problem appears to be hard to reproduce.
Every helpful comment is highly appreciated.
Regards
Harri
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Debian kernel: "Server nfs-home reports our clientid is in use"
2015-08-06 6:40 Debian kernel: "Server nfs-home reports our clientid is in use" Harald Dunkel
@ 2015-08-11 7:09 ` Harald Dunkel
2016-01-07 18:34 ` Debian kernel: PIERRRE
0 siblings, 1 reply; 5+ messages in thread
From: Harald Dunkel @ 2015-08-11 7:09 UTC (permalink / raw)
To: linux-nfs
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
PS:
/sys/module/nfs/parameters/nfs4_unique_id returns just an
empty string. I would have expected the hostname or a
similar string here, according to Documentation/filesystems/\
nfs/nfs.txt .
I am absolutely sure that there are no duplicate host names in
my net. The IP addresses are fixed, too. Nevertheless, to
avoid problems I have changed my setup procedure to set
nfs.nfs4_unique_id in grub, as suggested.
I am still hoping for valuable feedback
Regards
Harri
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Debian kernel:
2015-08-11 7:09 ` Harald Dunkel
@ 2016-01-07 18:34 ` PIERRRE
2016-01-12 12:26 ` Harald Dunkel
0 siblings, 1 reply; 5+ messages in thread
From: PIERRRE @ 2016-01-07 18:34 UTC (permalink / raw)
To: linux-nfs
Harald Dunkel <harald.dunkel@...> writes:
>
> PS:
>
> /sys/module/nfs/parameters/nfs4_unique_id returns just an
> empty string. I would have expected the hostname or a
> similar string here, according to Documentation/filesystems/\
> nfs/nfs.txt .
>
> I am absolutely sure that there are no duplicate host names in
> my net. The IP addresses are fixed, too. Nevertheless, to
> avoid problems I have changed my setup procedure to set
> nfs.nfs4_unique_id in grub, as suggested.
>
> I am still hoping for valuable feedback
>
> Regards
> Harri
>
Hi,
I have the same issue with several NFS servers. Cannot find any help.
How did you fixed it with grub ?
And did you go further and find a solution though ?
NFS server debian 8.2
NFS client debian 8.2
Any help would be appreciate.
Pierre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Debian kernel:
2016-01-07 18:34 ` Debian kernel: PIERRRE
@ 2016-01-12 12:26 ` Harald Dunkel
2016-01-18 15:36 ` Pierre FAUQUEMBERGUE
0 siblings, 1 reply; 5+ messages in thread
From: Harald Dunkel @ 2016-01-12 12:26 UTC (permalink / raw)
To: PIERRRE, linux-nfs
Hi Pierre,
On 01/07/2016 07:34 PM, PIERRRE wrote:
>
> Hi,
>
> I have the same issue with several NFS servers. Cannot find any help.
>
> How did you fixed it with grub ?
I set
GRUB_CMDLINE_LINUX="nfs.nfs4_unique_id=e2177c92-1fe6-48db-918b-ddefba900379"
in /etc/default/grub and rebuild the grub.cfg file.
The important point is that every NFS client and every root
partition get its own unique id. Be careful, especially if
you clone your hosts.
You can generate a new ID using uuidgen on the command line.
Hope this helps
Harri
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Debian kernel:
2016-01-12 12:26 ` Harald Dunkel
@ 2016-01-18 15:36 ` Pierre FAUQUEMBERGUE
0 siblings, 0 replies; 5+ messages in thread
From: Pierre FAUQUEMBERGUE @ 2016-01-18 15:36 UTC (permalink / raw)
To: Harald Dunkel, linux-nfs
Hi Harri,
thank you for your time and the tips.
so, I will do that :
1. modify /etc/default/grub with :
GRUB_CMDLINE_LINUX="nfs.nfs4_unique_id=${GRUB_DEVICE_UUID}"
2. See the result :
grub-mkconfig | less -Sr
3. rebuild grub.cfg :
sudo update-grub
4. Reboot
I will let you know, if the error keep going to appear.
thanks.
Pierre
On 01/12/2016 01:26 PM, Harald Dunkel wrote:
> Hi Pierre,
>
> On 01/07/2016 07:34 PM, PIERRRE wrote:
>> Hi,
>>
>> I have the same issue with several NFS servers. Cannot find any help.
>>
>> How did you fixed it with grub ?
> I set
> GRUB_CMDLINE_LINUX="nfs.nfs4_unique_id=e2177c92-1fe6-48db-918b-ddefba900379"
>
> in /etc/default/grub and rebuild the grub.cfg file.
>
> The important point is that every NFS client and every root
> partition get its own unique id. Be careful, especially if
> you clone your hosts.
>
> You can generate a new ID using uuidgen on the command line.
>
>
> Hope this helps
> Harri
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-01-18 15:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06 6:40 Debian kernel: "Server nfs-home reports our clientid is in use" Harald Dunkel
2015-08-11 7:09 ` Harald Dunkel
2016-01-07 18:34 ` Debian kernel: PIERRRE
2016-01-12 12:26 ` Harald Dunkel
2016-01-18 15:36 ` Pierre FAUQUEMBERGUE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).