[OpenAFS-devel] Re: traces!

Horst Birthelmer horst@riback.net
Sun, 18 Jul 2004 00:42:31 +0200


On Jul 17, 2004, at 2:09 PM, prasanna wakhare wrote:

> hi,
> I made a 5 machine setup in our college with 1 machine
>
> is main fileserver with everything running ,2 other
> fileserver ,total 3 distributed partition
> /vicepa,/vicepb,/vicepc,
> all can locally store the volumes which are basically
> user directory,managed by main fileserver,all witout
> kerberos,
> I think i had made a good progress,but the very
> crucial question i want to ask,
> I have to find out how the AFS works like if we can
> put some traces,like
> in linux kernel i can doo that by strace,
> or using gdb on live kernel image,
> or many tools like UML,and BOchs emulator,to put
> breakpointes,see what happens when particular event
> fired and all these,

OK you can start the fileserver with a high debug level. I think it's 
-d X... or you can put in some printfs in the code.
That's what I do when I have to debug things. It's the most reliable 
... ;-)

Horst