Bug#714974: nfs-kernel-server: Duplicate cookies reported - jfs partition, with samba
Package: nfs-kernel-server
Version: 1:1.2.6-4
Severity: serious
Justification: Effects usability of package
This error is from the client machne - but I believe the error is caused by the server issuing duplicate cookies.
Repeated multiple times - From syslog:
Jul 4 18:45:17 singapore kernel: [280774.570555] NFS: directory //accounting contains a readdir loop.Please contact your server vendor. The file: .~lock.credit.rtf1.rtf# has duplicate cookie 199
The directory list shows files multiple times
Closing the file makes things look normal.
This machine is set up to share the directory in question via both nfs and samba.
Samba settings for this directory:
[accounting]
comment = /home/accounting
path = /home/accounting
valid users = norma, karl, malaysia
force group = accounting
read only = No
create mask = 0765
directory mask = 0775
inherit permissions = Yes
oplocks = No
level2 oplocks = No
strict locking = Yes
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 56064 status
100024 1 tcp 56734 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100021 1 udp 38150 nlockmgr
100021 3 udp 38150 nlockmgr
100021 4 udp 38150 nlockmgr
100021 1 tcp 49791 nlockmgr
100021 3 tcp 49791 nlockmgr
100021 4 tcp 49791 nlockmgr
100005 1 udp 33338 mountd
100005 1 tcp 54775 mountd
100005 2 udp 47557 mountd
100005 2 tcp 58153 mountd
100005 3 udp 36789 mountd
100005 3 tcp 35984 mountd
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=--manage-gids
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
-- /etc/exports --
/home/karl 192.168.1.0/24(rw,sync,no_all_squash,no_root_squash,no_subtree_check)
/home/john 192.168.1.0/24(rw,sync,no_subtree_check)
/home/norma 192.168.1.0/24(rw,sync,no_subtree_check)
/home/installs 192.168.1.0/24(rw,sync,no_all_squash,no_root_squash,no_subtree_check)
/home/content 192.168.1.0/22(rw,sync,no_all_squash,no_root_squash,no_subtree_check)
/home/html 192.168.1.0/24(rw,sync,no_all_squash,no_root_squash,no_subtree_check)
/home/accounting 192.168.1.0/24(rw,sync,no_all_squash,no_root_squash,no_subtree_check)
/usr/src 192.168.1.0/24(rw,sync,all_squash,no_subtree_check)
/home/tftp 192.168.1.0/24(sync,rw,no_all_squash,no_root_squash,no_subtree_check)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs
/home/karl 192.168.1.0/22,192.168.1.0/24(rw,no_root_squash,sync,wdelay,no_subtree_check,uuid=511a1d4a:400e4bbb:bcba6a9a:5e00235f)
/home 192.168.1.0/22,192.168.1.0/24(ro,root_squash,sync,no_wdelay,no_subtree_check,v4root,uuid=511a1d4a:400e4bbb:bcba6a9a:5e00235f)
/home/html 192.168.1.0/22,192.168.1.0/24(rw,no_root_squash,sync,wdelay,no_subtree_check,uuid=511a1d4a:400e4bbb:bcba6a9a:5e00235f)
/home/accounting 192.168.1.0/22,192.168.1.0/24(rw,no_root_squash,sync,wdelay,no_subtree_check,uuid=511a1d4a:400e4bbb:bcba6a9a:5e00235f)
/home/content 192.168.1.0/22,192.168.1.0/24(rw,no_root_squash,sync,wdelay,no_subtree_check,uuid=511a1d4a:400e4bbb:bcba6a9a:5e00235f)
/home/installs 192.168.1.0/22,192.168.1.0/24(rw,no_root_squash,sync,wdelay,no_subtree_check,uuid=511a1d4a:400e4bbb:bcba6a9a:5e00235f)
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.20.1-5.3
ii libc6 2.13-38
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-24
ii lsb-base 4.1+Debian8+deb7u1
ii nfs-common 1:1.2.6-4
ii ucf 3.0025+nmu3
nfs-kernel-server recommends no packages.
nfs-kernel-server suggests no packages.
-- no debconf information
Reply to: