From e6b7ac2e0a8117103ff29acc135124f074032e16 Mon Sep 17 00:00:00 2001 From: MartinMokrejs Date: Mon, 21 Mar 2005 09:55:00 +0000 Subject: [PATCH] none --- AFSLore/AdminFAQ.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/AFSLore/AdminFAQ.mdwn b/AFSLore/AdminFAQ.mdwn index ec5428c..c129247 100644 --- a/AFSLore/AdminFAQ.mdwn +++ b/AFSLore/AdminFAQ.mdwn @@ -54,6 +54,7 @@ The Administration Section of the [[AFSFrequentlyAskedQuestions]].
  • 3.43 Although I get krb tickets, afslog doesn't give me tokens, I see UDP packets to port 4444
  • 3.44 I get error message trhough syslogd: "afs: Tokens for user of AFS id 0 for cell foo.bar.baz are discarded (rxkad error=19270407)"
  • 3.45 I get tickets and tokens, but still get Permission denied.
  • +
  • 3.46 Recovering broken afs cache on clients
  • @@ -1086,3 +1087,28 @@ Answer: ### 3.45 I get tickets and tokens, but still get Permission denied. Answer: /usr/afs/etc/UserList accepts only krb4 syntax. Use `joe.admin` instead of `joe/admin`. See `https://lists.openafs.org/pipermail/openafs-devel/2002-December/008673.html` and the rest of the thread. + +### 3.46 Recovering broken afs cache on clients + + >> Does anyone have a trick to force AFS to refresh its cache (for a + >> particular directory or even for all files?) The only way I know + >> how to accomplish this is to reboot, stop in single user mode, + >> rm -rf the cache files and let AFS rebuild everything. + > + > fs flush and fs flushv have cured corruption problems in the past + > on some of our clients. + + Thanks for the tip - I was not aware of the flush* subcommands. + Here's a little of what I saw today: + + ls -la + /bin/ls: asso.S14Q00246.all.log: Bad address + /bin/ls: asso.S14Q00246.all.lst: Bad address + /bin/ls: chr14markers.txt: Bad address + /bin/ls: geno.summary.txt: Bad address + /bin/ls: global.ind.S14Q00246.all.txt: No such device + /bin/ls: global.S14Q00246.all.txt: No such device + total 103 + [ other ls results as usual ] + + Flushing a particular file had no effect (the same error as shown above appears). Flushvolume took a long time, but when it eventually completed, the ls -la behaved exactly as one would expect. -- 1.9.4