From owner-freebsd-stable@FreeBSD.ORG Wed Jun 29 14:04:54 2005 Return-Path: X-Original-To: freebsd-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 6D48F16A41C for ; Wed, 29 Jun 2005 14:04:54 +0000 (GMT) (envelope-from ndenev@icdsoft.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 95CD143D53 for ; Wed, 29 Jun 2005 14:04:53 +0000 (GMT) (envelope-from ndenev@icdsoft.com) Received: (qmail 42182 invoked by uid 1026); 29 Jun 2005 14:05:51 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.078286 secs); 29 Jun 2005 14:05:51 -0000 Received: from unknown (HELO 14.98.145.213.in-addr.arpa) (213.145.98.14) by office.suresupport.com with SMTP; 29 Jun 2005 14:05:51 -0000 From: Niki Denev Organization: ICD Soft To: freebsd-stable@freebsd.org Date: Wed, 29 Jun 2005 17:04:49 +0300 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506291704.50185.ndenev@icdsoft.com> Subject: background fsck can be dangerous! 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: Wed, 29 Jun 2005 14:04:54 -0000 Hello, I want just to share my last experience with the combination of power failure + background fsck. After the power returned and the machine booted, it sheduled background fsck after 60 seconds, but at this point most of the services were already started, and some of them seemed to rely on files that were probably in unclean state before the check. This unfortunately leaded to some lost email...after the fsck completed, everything runs ok, but i have now set background_fsck to NO in rc.conf. Here is a sad sample from my qmail log file : @4000000042c1badc24fc21cc delivery 1: success: /libexec/ld-elf.so.1:_Shared_object_"libpq.so.3"_not_found,_required_by_"dspam"/did_0+0+1/ @4000000042c1badc24fff25c status: local 2/30 remote 0/20 @4000000042c1badc250151ec delivery 4: success: /libexec/ld-elf.so.1:_Shared_object_"libpq.so.3"_not_found,_required_by_"dspam"/did_0+0+1/ @4000000042c1badc2502bd34 status: local 1/30 remote 0/20 @4000000042c1badc25050ef4 end msg 23982 @4000000042c1badc2508b0a4 delivery 2: success: /libexec/ld-elf.so.1:_Shared_object_"libpq.so.3"_not_found,_required_by_"dspam"/did_0+0+1/ @4000000042c1badc250a9cd4 status: local 0/30 remote 0/20 @4000000042c1badc250c7d4c end msg 24087 @4000000042c1badc2510942c end msg 24040 --niki