[OpenAFS] Re: "Starting AFS cache scan..."

Andrew Deason adeason@sinenomine.net
Sun, 20 Jun 2010 02:19:53 -0500


On Sun, 20 Jun 2010 02:49:00 +0000
Adam Megacz <adam@megacz.com> wrote:

> Er, they are the same issue.  Obviously afsd needs to get backgrounded
> eventually (otherwise the boot process would not continue).  The
> problem is that afsd is being backgrounded too early.

If afsd is being backgrounded, it is not by us. afsd only exits after it
tries to mount /afs. From what Russ says and from what I see in the
Debian init scripts, the Debian init scripts do not background it
either.

So, it looks like something else is causing this, and it would help to
have more information. Is the specific problem you see that /afs/ is not
mounted? (as in, 'mount' does not show it?) Or are you just seeing
ENOENTs or some other error for some reason?

Can you reproduce this with a manual
'/etc/init.d/openafs-client start'? It should not return until /afs is
mounted or something failed; if it appears to exit before then, getting
the output of running with 'sh -x', or possibly strace'ing it, would be
helpful.

-- 
Andrew Deason
adeason@sinenomine.net