From owner-freebsd-stable@FreeBSD.ORG Thu May 4 23:59:36 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03EEC16A406 for ; Thu, 4 May 2006 23:59:36 +0000 (UTC) (envelope-from dpkirchner@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B4B643D48 for ; Thu, 4 May 2006 23:59:35 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so593184ugc for ; Thu, 04 May 2006 16:59:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=QZu7ZoVzN7gA2aVeuaAKfMjBKAjHu/j/bOSvkh9yQ65zA3S5KnGUbrxCk68g8LO/76C/eUGpUWwUBwA7lPO9e92UuIHJFvlvV6s+iKpoyDooMS0y42FFPythiieXa2tBemiwZzWEUgBJWWnOhLa4R/ON8EbqNU0EvPySuQkDIys= Received: by 10.78.32.16 with SMTP id f16mr176868huf; Thu, 04 May 2006 16:59:33 -0700 (PDT) Received: by 10.78.13.2 with HTTP; Thu, 4 May 2006 16:59:33 -0700 (PDT) Message-ID: <35c231bf0605041659m2d90e50y9026f18af592f9f5@mail.gmail.com> Date: Thu, 4 May 2006 16:59:33 -0700 From: "David Kirchner" Sender: dpkirchner@gmail.com To: "Robert Watson" In-Reply-To: <20060504100110.P17611@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060502171853.GG753@dimma.mow.oilspace.com> <44579EE1.6010300@rogers.com> <20060502180557.GA91762@xor.obsecurity.org> <4457A02C.9040408@rogers.com> <20060502182302.GA92027@xor.obsecurity.org> <20060503110503.O58458@fledge.watson.org> <35c231bf0605031821s582b6d03j3ee9d434a596f62a@mail.gmail.com> <20060504014241.GA38346@xor.obsecurity.org> <35c231bf0605032005n4fe38769v9637a9393efb791a@mail.gmail.com> <20060504100110.P17611@fledge.watson.org> X-Google-Sender-Auth: 3cc4b79bb1779090 Cc: stable@freebsd.org, Kris Kennaway Subject: Re: quota deadlock on 6.1-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 23:59:36 -0000 Here's how to reproduce the snapshot deadlock I'm seeing, with 6.1-RC2 cvsup'd as of 5 or 6 hours ago: 1) dd if=3D/dev/zero of=3D/usr/bigfile bs=3D1024 seek=3D209715200 count=3D0 2) mdconfig -a -t vnode -f /usr/bigfile 3) bsdlabel -w md0 auto 4) newfs -U md0a 5) fsck -v /dev/md0a # ^C this after a second or so, this makes the FS dirt= y 6) mount /dev/md0a /mnt 7) fsck -v -B /dev/md0a in another window: 8) while true; do ls -al /mnt/.snap;sleep 1;done It locks up every time for me, with no further disk activity. Unfortunately, for some reason, my server console became unaccessable, so I'm not able to get to the kdb prompt. If I can get to it later, what should I run other than "show lockedvnodes" and "show threads"? Also, can anyone else try these steps and verify if they cause the same problem for you? In my initial tests, filed in a PR, steps #1 and #2 were unnecessary as I was working with real disks. The result is the same here. Still, I am curious if anyone else can get the same result with a real disk >=3D200GB in size. I am unable to duplicate it with a 20GB partition, and I am not sure why. -- David 'dpk' Kirchner