From owner-freebsd-fs@FreeBSD.ORG Wed Sep 7 18:08:12 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F5916A41F; Wed, 7 Sep 2005 18:08:12 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 242AE43D46; Wed, 7 Sep 2005 18:08:11 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j87I83ZX066786; Wed, 7 Sep 2005 13:08:03 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <431F2C8C.3010203@centtech.com> Date: Wed, 07 Sep 2005 13:08:12 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050904 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <200509051953.22337@aldan> <20050906114055.R51625@fledge.watson.org> <200509060931.33977@aldan> <20050906144512.T75104@fledge.watson.org> <431DB382.7000904@centtech.com> <20050907174513.GA32771@xor.obsecurity.org> In-Reply-To: <20050907174513.GA32771@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1069/Wed Sep 7 10:08:51 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: questions@freebsd.org, Robert Watson , Mikhail Teterin , fs@freebsd.org Subject: Re: Strange case of filesystem corruption? 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: Wed, 07 Sep 2005 18:08:12 -0000 Kris Kennaway wrote: > On Tue, Sep 06, 2005 at 10:19:30AM -0500, Eric Anderson wrote: > >>Robert Watson wrote: >> >>>On Tue, 6 Sep 2005, Mikhail Teterin wrote: >>> >>> >>>>On Tuesday 06 September 2005 06:51 am, Robert Watson wrote: >>>>= Have you recently experienced a system crash or hard reboot without >>>>proper >>>>= shutdown? >>>> >>>>According to dmesg.boot, this filesystem was flagged as "not properly >>>>dismounted" back then. The machine's uptime is currently 47 days and >>>>no background fskcs are running, of course. >>>> >>>>Yours analysis is, likely, correct then... I guess, the fix should be >>>>MFCed. (What about 6.0-release?) Thanks! >>> >>> >>>The change was made in HEAD before the 6.x branch, so it's currently in >>>RELENG_6. I fired off an e-mail to Kirk to ask about MFC'ing it to >>>RELENG_5, and will do so once I hear back, assuming he thinks there is >>>no reason not to. >>> >>>Do you have back logs to when bgfsck was running, btw? Normally it >>>should correct this sort of thing, suggestion that bgfsck exited without >>>correcting them, which is a little worrying. You may want to boot to >>>single user and fsck manually... >> >>I thought that having background_fsck="NO" in your rc.conf would make >>the partition get mounted even though it is unclean, and no fsck's would >>happen (I use this 'feature' right now, since doing bgfsck on a 2TB >>partition takes about 2 hours just to make the snapshot, which means >>filesystem activity is suspended for that time). > > > AFAIK, no, this just does a regular old fg fsck. You are absolutely right! My mistake - I had forgotten I did some other hacks to ignore those filesystems (so I can fsck manually)! Too bad the mksnap_ffs is so slow on large (>20GB) partitions.. :( Thanks for the correction! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------