Re: Re-init lockd and kstatd in runtime.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Jan 2012 11:15:02 +0000 "Vlasov, Vladimir" <vvlasov@xxxxxxx> wrote:

> Hi.
> 
> I'm wondering if there is any way to re-init lockd and kstatd after startup?
> 
> Look, in svc.c static variable nsm_use_kstatd is set to 1.
> Then, if nsm_kernel_statd_init() returns error, nsm_use_kstatd is set to 0.
> And we end up without kstatd.
> 
> Lockd will exit as soon as last NFS mount is unmounted and on next mount attempt lockd() in svc.c will be called again, but nsm_use_kstatd is 0 already and kstatd init will be skipped.
> 
> So, looks like if /var/lib/nfs/state is missed on host startup, there is no way to recover and tell kernel init kstatd later on demand. Or?

This would be SLES10 - correct?

I suggest you simply make sure /var/lib/nfs/state is not missing at startup.

The issue sounds vaguely familiar ... maybe it is fixed in SLES10-SP4...

What release are you running?  Are you a SLES customer?  If you are, you
would be better off logging a support request on the SUSE bugzilla
(bugzilla.novell.com).

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux