Skip to contentSkip to conversation

Error: state manager failed on NFSv4 server base with error 10018

DISCUSSION Stanislav Posonsky 2 participants 4 messages Sep 21, 2011 – Dec 8, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

After upgrade kernel at server from 2.6.38 to 2.6.39 series and higher,
I was forced to drop to NFSv3. With NFSv4 I get (when I trying to read any file) hundreds message at client:

	Error: state manager failed on NFSv4 server base with error 10018

	Now I have at server and cient:

	linux kernel 	3.0.4
	nfs-utils		1.2.3
	nfs4-acl-tools	0.3.3

	File /etc/exports:

/opt 192.168.8.0/24(fsid=0,rw,subtree_check)

==================================================
With version 3
==================================================

root|st01# mount -t nfs -o nfsvers=3 base:/opt /net root|st01# mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) base:/opt on /net type nfs (rw,nfsvers=3,addr=192.168.8.254)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt 
This is a test file on NFS share.

stas@st01$

Works fine.

==================================================
With version 4
==================================================

root|st01# umount /net
root|st01# mount -t nfs base:/ /net
root|st01# mount | grep nfs

rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
base:/ on /net type nfs (rw,vers=4,addr=192.168.8.254,clientaddr=192.168.8.1)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt

And the process hangs... Then (Ctl+C):

^C

stas@st01$ dmesg
Error: state manager failed on NFSv4 server base with error 10018
Error: state manager failed on NFSv4 server base with error 10018
...

Could you help me solve this problem, please?

Signature · 1 line
  With best regards, Stanislav 
#1 lore raw
Quoted 54 lines · Stanislav Posonsky

After upgrade kernel at server from 2.6.38 to 2.6.39 series and higher,
I was forced to drop to NFSv3. With NFSv4 I get (when I trying to read any file) hundreds message at client:

	Error: state manager failed on NFSv4 server base with error 10018

	Now I have at server and cient:

	linux kernel 	3.0.4
	nfs-utils		1.2.3
	nfs4-acl-tools	0.3.3

	File /etc/exports:

/opt 192.168.8.0/24(fsid=0,rw,subtree_check)

==================================================
With version 3
==================================================

root|st01# mount -t nfs -o nfsvers=3 base:/opt /net root|st01# mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) base:/opt on /net type nfs (rw,nfsvers=3,addr=192.168.8.254)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt 
This is a test file on NFS share.

stas@st01$

Works fine.

==================================================
With version 4
==================================================

root|st01# umount /net
root|st01# mount -t nfs base:/ /net
root|st01# mount | grep nfs

rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
base:/ on /net type nfs (rw,vers=4,addr=192.168.8.254,clientaddr=192.168.8.1)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt

And the process hangs... Then (Ctl+C):

Quoted 7 lines

^C

stas@st01$ dmesg
Error: state manager failed on NFSv4 server base with error 10018
Error: state manager failed on NFSv4 server base with error 10018
...

Could you help me solve this problem, please?

Could you get a network trace showing the "With version 4" case?

(tcpdump -s0 -wtmp.pcap, then run your test, then kill tcpdump and mail me tmp.pcap)

--b.

#2 lore raw
Quoted 64 lines · On Thursday 22 of September 2011 01:00:20 you wrote:
Quoted 63 lines · Stanislav Posonsky

After upgrade kernel at server from 2.6.38 to 2.6.39 series and higher,

I was forced to drop to NFSv3. With NFSv4 I get (when I trying to read any

file) hundreds message at client:

	Error: state manager failed on NFSv4 server base with error 10018
	
	Now I have at server and cient:
	
	linux kernel 	3.0.4
	nfs-utils		1.2.3
	nfs4-acl-tools	0.3.3

	File /etc/exports:

/opt 192.168.8.0/24(fsid=0,rw,subtree_check)

==================================================

With version 3

==================================================

root|st01# mount -t nfs -o nfsvers=3 base:/opt /net root|st01# mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) base:/opt on /net type nfs (rw,nfsvers=3,addr=192.168.8.254)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt
This is a test file on NFS share.

stas@st01$

Works fine.

==================================================

With version 4

==================================================

root|st01# umount /net
root|st01# mount -t nfs base:/ /net
root|st01# mount | grep nfs

rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) base:/ on /net type nfs (rw,vers=4,addr=192.168.8.254,clientaddr=192.168.8.1)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt

And the process hangs... Then (Ctl+C):
^C

stas@st01$ dmesg
Error: state manager failed on NFSv4 server base with error 10018
Error: state manager failed on NFSv4 server base with error 10018
...
Quoted 6 lines
Quoted 1 line

Could you help me solve this problem, please?

Could you get a network trace showing the "With version 4" case?

(tcpdump -s0 -wtmp.pcap, then run your test, then kill tcpdump and mail me tmp.pcap)

Yes, certainly. Two files are in attachment - at "mount" and "cat"
stages.

Signature · 1 line
  With best regards, Stanislav
#3 lore raw

Sorry, I just noticed I'd dropped this; could you retest with either the latest -rc or with

git://linux-nfs.org/~bfields/linux.git master

on the server side?

There have been a lot of changes in that area.

--b.

Quoted 76 lines · Stanislav Posonsky
Quoted 64 lines · On Thursday 22 of September 2011 01:00:20 you wrote:
Quoted 63 lines · Stanislav Posonsky

After upgrade kernel at server from 2.6.38 to 2.6.39 series and higher,

I was forced to drop to NFSv3. With NFSv4 I get (when I trying to read any

file) hundreds message at client:

	Error: state manager failed on NFSv4 server base with error 10018
	
	Now I have at server and cient:
	
	linux kernel 	3.0.4
	nfs-utils		1.2.3
	nfs4-acl-tools	0.3.3

	File /etc/exports:

/opt 192.168.8.0/24(fsid=0,rw,subtree_check)

==================================================

With version 3

==================================================

root|st01# mount -t nfs -o nfsvers=3 base:/opt /net root|st01# mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) base:/opt on /net type nfs (rw,nfsvers=3,addr=192.168.8.254)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt
This is a test file on NFS share.

stas@st01$

Works fine.

==================================================

With version 4

==================================================

root|st01# umount /net
root|st01# mount -t nfs base:/ /net
root|st01# mount | grep nfs

rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) base:/ on /net type nfs (rw,vers=4,addr=192.168.8.254,clientaddr=192.168.8.1)

In other console:

stas@st01$ ls -l /net/a*
-rw-r--r-- 1 root root 35 Сен 21 11:23 /net/a_file.txt
stas@st01$ cat /net/a_file.txt

And the process hangs... Then (Ctl+C):
^C

stas@st01$ dmesg
Error: state manager failed on NFSv4 server base with error 10018
Error: state manager failed on NFSv4 server base with error 10018
...
Quoted 6 lines
Quoted 1 line

Could you help me solve this problem, please?

Could you get a network trace showing the "With version 4" case?

(tcpdump -s0 -wtmp.pcap, then run your test, then kill tcpdump and mail me tmp.pcap)

Yes, certainly. Two files are in attachment - at "mount" and "cat"
stages.

Signature · 1 line
  With best regards, Stanislav