From owner-freebsd-fs@FreeBSD.ORG Mon Sep 15 23:53:41 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98CED106566B for ; Mon, 15 Sep 2008 23:53:41 +0000 (UTC) (envelope-from ahnjoan@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 65D838FC1A for ; Mon, 15 Sep 2008 23:53:41 +0000 (UTC) (envelope-from ahnjoan@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2287155wfg.7 for ; Mon, 15 Sep 2008 16:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=/DKLm96bRF5jEG9XQDyVfEId6jd8g0GPrUu34Od0sFE=; b=e1WHPxU4hNRX+3l8dJW0NRLbZJ42B/yQ8TjqmBxmbMXEHhDjfe5IZ0Br61/2Ny1+Nz 3G7UX1n3hFpDvAplaJbVS5v8mihRzwPbd1a0A0/bVDG2mri7yJKlFu4DikIU+GIqe4Dc tCiJ/6rfgQGBuwTi93jVbgloqsBZzSEOf4QrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=BJpBeVOwlJXA/Mg7Yk3ZgOc62sETKdqJOei0h0Y72U5LKdh4f98+YgrbzGCs7oKD4T acsnzQHK2gvWeTLk8a8h4Qx7uq5LoN9/3Ny66rEF1PsA34kMWu61v4EamNVdK3vjFR3L uPiscrCZIQWYgNRcANLAUAmkbGczPZLlm2xnc= Received: by 10.114.195.19 with SMTP id s19mr172481waf.110.1221520904169; Mon, 15 Sep 2008 16:21:44 -0700 (PDT) Received: by 10.114.174.8 with HTTP; Mon, 15 Sep 2008 16:21:44 -0700 (PDT) Message-ID: <5e575c8a0809151621t55810568wd16fde9b501997f2@mail.gmail.com> Date: Mon, 15 Sep 2008 19:21:44 -0400 From: "Ahnjoan Amous" To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: host hangs, can only drop to ddb after accessing a file that is owned by a non privileged user X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 23:53:41 -0000 A week or so ago we had a power bump and since then one of our servers now hangs on access to one of two files. Just `ls -al` will cause the machine to hang. The files are excel spreadsheets owned by a normal user and served out by samba. The host does not panic when the files are accessed but the only thing I can do is break in to ddb on the serial console. Once inside of ddb I'm able to see which of the two files was being accessed by typing in "show lockedvnods" and using the inode to identify the file via the find command. I'm not able to remove the files either as this causes the host to hang in the same manner. I really don't know anything about ddb other than how to type in "show lockedvnods" so far. I can reproduce this behavior every time if anyone would like me to trouble shoot this possible bug. One thing to note this is a 5.2.1-Release so if it is even a bug it might be fixed already. Most importantly does anyone have any thoughts on how I can remove this file? Its accessible by my users and even with a preemptive e-mail they seem to take delight in clicking the little icon twice and watching me run down the hall... FYI =96 Here is the ddb output from two different hangings, the inodes correspond to the two files that make this happen. 0xcc880410: tag ufs, type VREG, usecount 1, writecount 0, refcount 1, flags (VV_OBJBUF), lock type ufs: EXCL (count 1) by thread 0xc9b58dc0 ino 3933646, on dev da2s1e (4, 29) 0xca42d71c: tag ufs, type VREG, usecount 1, writecount 0, refcount 1, lock type ufs: EXCL (count 1) by thread 0xca23da00 ino 3933648, on dev da2s1e (4, 29) Thanks Ahnjoan