From owner-freebsd-questions@FreeBSD.ORG Fri May 12 14:46:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1476316A5E0 for ; Fri, 12 May 2006 14:46:33 +0000 (UTC) (envelope-from ml.diespammer@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08B5F43D86 for ; Fri, 12 May 2006 14:46:23 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-ull-95-215.51-151.net24.it [151.51.215.95]) (authenticated bits=128) by parrot.aev.net (8.13.6/8.13.6) with ESMTP id k4CEnj0f079954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 12 May 2006 16:49:51 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) by soth.ventu (8.13.6/8.13.3) with ESMTP id k4CEjrMU079914 for ; Fri, 12 May 2006 16:45:53 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Message-ID: <44649FA9.6080700@netfence.it> Date: Fri, 12 May 2006 16:46:01 +0200 From: Andrea Venturoli User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.53 on 212.31.247.179 Subject: fsck way too slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 14:46:39 -0000 Hello. I've got a i386/6.1 box with only one big root partition. The problem is that, whenever the machine is not properly shutdown, fsck on boot takes eons. First of all: I believe that fsck should run in background, but it doesn't. How can I tell why? Then, back to the heart of the problem, why does it take so long? It's a 9GB SCSI disk and it should be quite fast, although a bit old; it's speed is for sure enough for day to day work. Back in the 5.x times fsck used to last definitely less than 5 minutes. After I upgraded to 6.1 (or maybe after 6.0) it started taking nearly an hour. It just sits there for eons, the disk barely working, and printing a line every minute or so. This regularity makes me think that it might be waiting for something and then just giving up after timeout. *Like* it is trying to syslog, although that deamon has not started yet. This is obviously just an hypotesis, but I thought it might help explain the problem. Any hint? bye & Thanks av.