[OpenAFS] file server callback list command, file name from id command?

Rainer Toebbicke rtb@pclella.cern.ch
Mon, 31 May 2010 09:26:09 +0200


Jeffrey Altman schrieb:
> On 5/28/2010 1:00 PM, John W. Sopko Jr. wrote:
>> Is there a command to query a file server to get a list of
>> active callbacks that list the file id and the host IP?
> 
> No.
> 

Sorry: yes!

Although Jeffrey is right in the sense that it is not a command:

send "kill -XPU" to the file server, and use the "cbd" utility to scan the 
resulting /usr/afs/local/callback.dump file.

I recently submitted a patch to cbd/fileserver which makes it more robust, but 
the old one works quite well already. cbd is built with the non-pthread.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985       Fax: +41 22 767 7155