[OpenAFS] stopping AFS problem

Derrick J Brashear shadow@dementia.org
Tue, 15 Jan 2002 09:13:04 -0500 (EST)


On Tue, 15 Jan 2002, Haichuan Yang wrote:

> I should add that this doesn't happen all the time. It only happens
> occasionally, say, when "/etc/rc.d/init.d/afs start" had problem and /afs
> wasn't mounted correctly. But afsd processes were started. Then you try to
> stop afs and the system hangs.

Not that it's an excuse, really, but I suppose the root question is "why
is /afs not mounted correctly?"

> Or when the libafs kernel module was manually unloaded by "rmmod".
> This may not be a proper thing to do. And sometimes "rmmod" will get the
> the system down and sometimes it won't. And other Linux modules don't seem
> to have this problem. They either won't allow you to remove them or they
> can be removed without bringing the system down.

You can't load the module until afsd is shut down (it's not unsafe, it's
simply not possible); Once afsd is shut down it's safe for anything to
remove the module. 

-D