From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 16:09:33 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 6C01216A401 for ; Sat, 29 Apr 2006 16:09:33 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B379D43D49 for ; Sat, 29 Apr 2006 16:09:32 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3TG9U7w053426; Sat, 29 Apr 2006 20:09:30 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 29 Apr 2006 20:09:30 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060424202859.GA18457@xor.obsecurity.org> Message-ID: <20060429200327.R9621@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 29 Apr 2006 20:09:31 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk 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: Sat, 29 Apr 2006 16:09:33 -0000 On Mon, 24 Apr 2006, Kris Kennaway wrote: KK> > I'll try to build DDB kernel tomorrow evening to check. Which commands should I KK> > issue in ddb ? KK> KK> 'show lockedvnods', 'ps' and 'alltrace' are important. Well, common usage pattern does not lead to lock today. I made some snapshots on quota'ed file system and delete them successfully. Then, I made one snapshot (finished well), and simultaneously issue rm -f /st/.snap/temp_snapshot.1 mksnap_ffs /st /st/.snap/temp_snapshot.2 mksnap_ffs /st /st/.snap/q_snapshot This leads to marck@office:~> pidd snap 0 32 0 0 -4 0 0 8 snaplk DL ?? 0:32.45 [bufdaemon] root 0.0 0.0 Thu10PM 0 23279 8868 6 -4 0 1260 708 snaplk D+ p1 0:00.69 mksnap_ffs /st / root 0.0 0.1 7:57PM 0 23325 23302 0 -4 0 1220 492 ufs D+ p3 0:00.00 mksnap_ffs /st / root 0.0 0.1 7:59PM 0 23301 23284 0 -4 0 1228 568 snaplk D+ p4 0:00.00 rm -f /st/.snap/ root 0.0 0.1 7:58PM DDB output (BTW, it seems BREAK_TO_DEBUGGER together with KDB_UNATTENDED is *not* workable in RELENG_6) is available at http://woozle.net/FreeBSD/debug/office-ddb.20060429.txt.gz (35k) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------