2006-01-05 13:56:25

by Herbert Engelmann

[permalink] [raw]
Subject: lockd/statd: failed to create /var/lib/nfs/sm/<hostname>

=2D----BEGIN PGP SIGNED MESSAGE-----

Hi,

I get the following messages in my /var/log/messages:

Jan 5 10:58:10 xxxxxx kernel: lockd/statd: failed to create=20
/var/lib/nfs/sm/<full qualified hostname>: err=3D-2

Jan 5 10:58:10 xxxxxx kernel: lockd: failed to monitor <full qualified=20
hostname>

This happens, when I upload a file to my ftp-server. The server accepts
the uploaded file alright, but it cannot write the log-file. Both files,
the uploaded file and the log-file, reside in the same filesystem, which
is mounted via nfs.=20

The directory /var/lib/nfs/sm exists. When I mount the filesystem with
the option "nolock", then the log-file gets written. I can not use this
option, because I need the content of the log-file to process the uploaded
files and therefore it is important, that this content is consistent.

What can I do to get it right?

Thanks=20

Herbert Engelmann
=2D --=20
H. Engelmann, 089-289-28836, [email protected]
PGP-Key : http://www.lrz-muenchen.de/~engelmann/info/pgp.em.html

=2D----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv

iQCVAwUBQ70lg6hxGsmXUG+lAQF1KQP9ENS7aI/7GSmfsJcGQr/+qa181fZkw6E8
ll6FCih6/NQ0jXm54+xPnVvM3VCWK5inULndB4clTo6xuk+EutLtGhdZFFJMXXyH
EJTqwbFqWNV1a5kPy/GxeVipUZ7i2DpEWv3g5siLktbxTAmvpLs0KXDGlFGDwxZt
BYuUglP+wzs=3D
=3DB0oS
=2D----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2006-01-05 14:54:23

by Olaf Kirch

[permalink] [raw]
Subject: Re: lockd/statd: failed to create /var/lib/nfs/sm/<hostname>

On Thu, Jan 05, 2006 at 02:56:18PM +0100, Herbert Engelmann wrote:
> Jan 5 10:58:10 xxxxxx kernel: lockd/statd: failed to create
> /var/lib/nfs/sm/<full qualified hostname>: err=-2
>
> Jan 5 10:58:10 xxxxxx kernel: lockd: failed to monitor <full qualified
> hostname>

That seems to be a Suse kernel you're running. Which kernel is that?
Are you running the most recent update kernel?

Olaf
--
Olaf Kirch | --- o --- Nous sommes du soleil we love when we play
[email protected] | / | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2006-01-05 22:00:44

by Herbert Engelmann

[permalink] [raw]
Subject: Re: lockd/statd: failed to create /var/lib/nfs/sm/<hostname>

=2D----BEGIN PGP SIGNED MESSAGE-----

Am Donnerstag, 5. Januar 2006 15:54 schrieb Olaf Kirch:
> On Thu, Jan 05, 2006 at 02:56:18PM +0100, Herbert Engelmann wrote:
> > Jan 5 10:58:10 xxxxxx kernel: lockd/statd: failed to create
> > /var/lib/nfs/sm/<full qualified hostname>: err=3D-2
> >
> > Jan 5 10:58:10 xxxxxx kernel: lockd: failed to monitor <full qualified
> > hostname>
>
> That seems to be a Suse kernel you're running. Which kernel is that?
> Are you running the most recent update kernel?
>

That's right. SuSE 9.3 with Kernel
2.6.11.4-21.10-smp #1 SMP Tue Nov 29 14:32:49 UTC 2005.

I do not know if there is a more recent kernel.

regards

Herbert Engelmann
=2D --=20
H. Engelmann, 089-289-28836, [email protected]
PGP-Key : http://www.lrz-muenchen.de/~engelmann/info/pgp.em.html

=2D----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv

iQCVAwUBQ72W26hxGsmXUG+lAQHIRAQAj7+8WMOmSw/7LsQKFddvDuGaF5hJYcb0
CECNHbZhWoLFthhT2Fh9zhVj/zGCZSj0ix95lEuwmWnOCYSPb5dfOUB6D5P5QVjf
8Fc3ydRSNAYutuxXQz0lDYKm9HRINQlzM+KXcjdcevgcBRupqbmqOpJ24MaGB3OL
=460y+dVsYdmA=3D
=3DraUl
=2D----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs