Unix Technical Forum

Re: rpc.statd

This is a discussion on Re: rpc.statd within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On 2004-03-31, Jeremy K <jkusnetz@yahoo.com> wrote: > Without rpc.statd running on a client you have NFS locking problems. I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 10:02 AM
Michael Shuler
 
Posts: n/a
Default Re: rpc.statd

On 2004-03-31, Jeremy K <jkusnetz@yahoo.com> wrote:
> Without rpc.statd running on a client you have NFS locking problems.


I have not had any issues with locking when making extensive use of NFS,
starting only portmap on the clients. Possibly your exports or mounts need
a bit of tuning.

Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 10:03 AM
Chris Willing
 
Posts: n/a
Default Re: rpc.statd

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 01 Apr 2004 00:58:27 GMT, Michael Shuler <michael@foobarra.org> wrote:
> On 2004-03-31, Jeremy K <jkusnetz@yahoo.com> wrote:
>> Without rpc.statd running on a client you have NFS locking problems.

>
> I have not had any issues with locking when making extensive use of NFS,
> starting only portmap on the clients. Possibly your exports or mounts need
> a bit of tuning.
>


Then you're not using programs which show up the problems.

After extensive use of NFS, problems only became evident when we started using
evolution and vic (videoconference tool) with NFS mounted home directories. All
problems were solved after editing rc.nfsd to run /rpc.lockd & rpc.statd even
when there were no /etc/exports entries.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAa62tEi1IpCjOY3ERAqIJAKDMic+W6L3b0T4+sNO/X8wfDZeq+gCgqpt9
p3popYlgRtSJUi9Ni+JDFMs=
=w+Cg
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 10:03 AM
Eef Hartman
 
Posts: n/a
Default Re: rpc.statd

Chris Willing <chris@bogus.addr.invalid> wrote:
> After extensive use of NFS, problems only became evident when we started using
> evolution and vic (videoconference tool) with NFS mounted home directories.
> All problems were solved after editing rc.nfsd to run /rpc.lockd & rpc.statd
> even when there were no /etc/exports entries.


Hmm, my experience was the opposite, I recently DISabled running of rcp.statd
and (especially) rpc.lockd on pure NFS clients, as we had too many errors of
files locked when they shouldn't have been locked, so that for instance
cron jobs started generating errors on NFS mounted files.

Or even bad mounts after a server reboot, without the clients rebooting too.

PS: the way to easily enable rcp.statd/lockd is to add the simple line
#/
to the /etc/exports file (we used to have some commented-out entries like that
everywhere and I had to restore the original exports to disable rc.nfsd again).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 10:04 AM
Jeremy K
 
Posts: n/a
Default Re: rpc.statd

> Then you're not using programs which show up the problems.
>
> After extensive use of NFS, problems only became evident when we started using
> evolution and vic (videoconference tool) with NFS mounted home directories. All
> problems were solved after editing rc.nfsd to run /rpc.lockd & rpc.statd even
> when there were no /etc/exports entries.


I agree these clients were up for a long time, but took a long time to
figure out why Frontpage Extentions weren't working on these boxes.
Started rpc.statd and boom it worked.

Anyone knows if this is fixed in the currents? How do we get the fix
put in?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 06:14 PM
ric@opus1.com
 
Posts: n/a
Default Re: rpc.statd

On a Slackware 10.0 system, rpc.statd is not started if /etc/exports is
empty. If I run an application that does fcntl(...,F_SETLKW,...), then
it fails with ENLOCK if the file being locked is on an NFS mounted file
system. Once rpc.statd is started on the Slackware 10 client, the
fcntl no longer fails. I modified rc.nfsd to start statd and lockd
before checking /etc/exports so that applications doing F_SETLKW will
work properly. I sent a test program and my rc.nfsd modifications to
support@slackware.com so hopefully this will get fixed in the next
release.

My 2 cents
Ric
FWIW. I checked Fedore Core 3 and Solaris 8, and they start rpc.statd
and lockd even if the system is not an NFS server, and I haven't had
any of the F_SETLKW problems with Fedora or Solaris clients.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com