nfssvc: writting fds to kernel failed: errno 0 (Success)
Subsystems (2)
Hi,
Since two months, I can see the following strange messages logged each time that rpc.nfsd is started:
Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success) Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success)
It seems however harmless, the NFS server works fine.
AFAICS, these messages appeared with some kernel between 2.6.18 and 2.6.19. I don't know which one exactly. With earlier kernels, the file /proc/fs/nfsd/portlist does not exist, and the function nfssvc_setfds() from support/nfs/nfssvc.c (in nfs-utils) exits early and silently.
This issue has recently reported in the Debian bug tracking system. See
http://bugs.debian.org/408669
Regards,
Arnaud Giersch
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 9 lines · On Monday February 12, [email protected] wrote:
Hi,
Since two months, I can see the following strange messages logged each time that rpc.nfsd is started:
Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success) Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success)It seems however harmless, the NFS server works fine.
Yes, it is harmless - except that it causes concern.
The following kernel patch should stop the error (and a separate patch will fix the typo in the error message...)
Thanks,
NeilBrown
### Diffstat output
./fs/nfsd/nfsctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nfsd/nfsctl.c +1 -1
@@ -123,7 +123,7 @@ static ssize_t nfsctl_transaction_write(return PTR_ERR (data); rv = write_op[ino](file, data, size); -if (rv>0 ) { +if (rv >=0 ) {simple_transaction_set (file, rv); rv = size; }
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Lundi 12 f=E9vrier 2007, vers 00:39:49 (+0100), Neil Brown a =E9crit:
Quoted 2 lines · On Monday February 12, [email protected] wrote:
Quoted 1 line
Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed=
: errno 0 (Success)
[...]
Quoted 2 lines
The following kernel patch should stop the error (and a separate patch will fix the typo in the error message...)
Thanks. The patch looks ok to me, but I am sorry I can't test it for the moment. =
The machines running an NFS server that I have access to are either our main server at work, or my old home server which takes several hours to build a new kernel.
Arnaud Giersch
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs