[OpenAFS] Read-Write Disconnected Mode - How does it work?

Simon Wilkinson sxw@inf.ed.ac.uk
Mon, 2 Feb 2009 18:23:39 +0000


On 2 Feb 2009, at 15:12, Jason Edgecombe wrote:
>>
> The tests are at
> /afs/dementia.org/home/edgester/git/newtests/
>
> I'm certain I had tokens.

Did root get those tokens when you su'd to take the machine back  
online, though? I've been caught out by this before - I've not been in  
a PAG, and then become root and lost my tokens, tried to go back  
online, and just been confronted by errors.

> Pardon my ignorance, but how do I enable the fs trace log?

I jotted some notes for myself on how to do this at
http://blob.inf.ed.ac.uk/sxw/2009/01/24/using-fstrace-to-debug-the-afs-cache-manager/

Note that the critical thing is that you must have /usr/vice/etc/C/ 
afszcm.cat installed. Unfortunately, this currently isn't installed by  
our RPM - you should be able to find a copy in src/afs/afszcm.cat in  
your build directory.

> Can I trigger alt-sysreq-t remotely and get the output?

echo t > /proc/sysrq-trigger
should do the trick. The output will be in dmesg, or in the system log.

Cheers,

Simon.