From owner-freebsd-afs@FreeBSD.ORG Wed May 26 10:14:22 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D3171065673 for ; Wed, 26 May 2010 10:14:22 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 1C95D8FC1B for ; Wed, 26 May 2010 10:14:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 399C890484; Wed, 26 May 2010 12:14:20 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uyAmW+pGjE9J; Wed, 26 May 2010 12:14:20 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id B82E890480; Wed, 26 May 2010 12:14:19 +0200 (CEST) Message-ID: <4BFCF47F.6060106@janh.de> Date: Wed, 26 May 2010 12:14:23 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100514 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Kaduk References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> <4BC5EEB5.5050109@janh.de> <4BE01AF0.3080309@janh.de> <4BF2B962.50408@janh.de> <4BF2D461.8030302@janh.de> <4BF56F38.4040008@janh.de> <4BFBFA49.8040900@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd , Derrick Brashear Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 10:14:22 -0000 On 05/26/10 06:01, Benjamin Kaduk wrote: > On Tue, 25 May 2010, Jan Henrik Sylvester wrote: > >> >> I could try different file sizes... maybe around the cache size -- >> would that be interesting? (I have "/afs:/var/openafs/cache:100000" in >> /usr/local/etc/openafs/cacheinfo. That is in KB, isn't it?) > > It is in KB, yes. > > I have some latent curiousity as to whether the cache size is a > threshold for the hang, but don't have any ideas as to why that might be > the case. No reason to do it unless you're testing other things (again) > anyway, I think. About Matt's advice: Unfortunately, I have never used ddb and I do not even know what "whatnot" is, sorry. Maybe, I will learn debugging some day, but not now. I could try to get another account for that afs -- would you want to try to reproduce it against that afs server? I tried to copy files starting with 1KB and doubling the size. 1KB up to 64KB copied fine. For 128KB, I got "Permission denied". Trying "ls" on the afs directory, I got all the file names and for each of them a "Permission denied". I did "kdestroy", "kinit", and "aklog", which reenabled afs access. Of the 128KB, only 64KB got copied (I checked that it were indeed the first 64KB of the file). 256KB copied fine (after the kdestroy-kinit-aklog-cycle). 512KB did not give an error, but only 448KB were copied. 1MB gave me "Permission denied" again and nothing was copied. 1MB copied fine after another kdestroy-kinit-aklog-cycle. 2MB did not give an error, but only 1664KB were copied. 4MB gave me "Permission denied" and after "kdestroy", the machine froze completely. It does not seem to be the cache and there is not only locking going on but also corruption. (All this on SMP. I could try again with SMP disabled.) Cheers, Jan Henrik