From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 16:01:48 2003 Return-Path: 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 6420216A4B3 for ; Tue, 30 Sep 2003 16:01:48 -0700 (PDT) Received: from ganymede.hub.org (u173n10.eastlink.ca [24.224.173.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC614400D for ; Tue, 30 Sep 2003 16:01:44 -0700 (PDT) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 32C4634BC3; Tue, 30 Sep 2003 20:00:46 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 316EA349C1 for ; Tue, 30 Sep 2003 20:00:46 -0300 (ADT) Date: Tue, 30 Sep 2003 20:00:46 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <20030930195635.H94686@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: fsck stall'd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 23:01:48 -0000 should I be able to get something out of either 'gdb /sbin/fsck ' or 'truss -p ' for an fsck process? I tried truss -p, and it just sits there ... and gdb shows: jupiter# gdb /sbin/fsck 361 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... /usr/361: No such file or directory. Attaching to program: /sbin/fsck, process 361 0x804d6c5 in ?? () (gdb) bt #0 0x804d6c5 in ?? () #1 0x804ae76 in ?? () #2 0x804ab7c in ?? () #3 0x804813e in ?? () (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /sbin/fsck, process 361 I'm up to a 3.5hr fsck on a 100gb file system, and am worried it might have stalled or soething, since all I have on the screen is: jupiter# fsck -y /dev/da0s1h ** /dev/da0s1h ** Last Mounted on /vm ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts Now, CPU usage seems to be continuing to climb, according to ps: jupiter# !ps ps aux | grep fsck root 361 99.0 2.3 95572 95500 p0 R+ 4:21PM 206:19.31 fsck -y /dev/da0s1h jupiter# !ps ps aux | grep fsck root 361 99.0 2.3 95572 95500 p0 R+ 4:21PM 206:23.51 fsck -y /dev/da0s1h so I'm guessing that it is still working fine, and I'm being paranoid, but ... ? thanks ...