From owner-freebsd-stable@FreeBSD.ORG Mon Mar 5 22:21:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EC6F106566B for ; Mon, 5 Mar 2012 22:21:58 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 203188FC15 for ; Mon, 5 Mar 2012 22:21:58 +0000 (UTC) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id B6DB31197D; Mon, 5 Mar 2012 14:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1330986117; bh=VPwKAVADraHo/DbZKOBl2LEZQychwax5e6oF4vH42YQ=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=zf48Hemq4etV6BGSUoXJaFN9lPGiqcoDCmaHk4ffCp1zWx+W04MPldNIY4VI+vB2b FtHNiSxiDUv7mQHudIwgfiX34L6WA+bMCDaE0Ai3m9w6TQo1x7ncSx/uihUH1TqPZq oC9Dz7/etQ15P4sUMSHGtd9ROOqXlPW7CMZyEMiQ= Message-ID: <4F553C82.2000305@delphij.net> Date: Mon, 05 Mar 2012 14:21:54 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Arnaud Lacombe References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: d@delphij.net, FreeBSD Stable Subject: Re: Heavy fs corruption with 9.0-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 22:21:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 03/05/12 14:12, Arnaud Lacombe wrote: > Hi, > > I've been running a couple of system with 9.0-RELEASE since it is > out. All the system were installed through the standard > installation procedure. After unclean reboot, either crash or > power-failure, I get a huge amount of really bad filesystem > corruption (read: "silent", fs-wide, corruptions). This happens > with either i386 or amd64 build. Systems involved use compact flash > as their system permanent storage medium. [...] > I do not see this behavior when running 9.0-RELEASE on top of a > 7.4-RELEASE userland (including FS). I've seen this behavior on > various CF, so a single bad card is unlikely to be the culprit. FWIW FS is part of kernel. So technically you're running 9.0-RELEASE UFS with 7.4-RELEASE userland. > Here are the currently mounted filesystem on the machine, as well > as mount options: > > # mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs > on /dev (devfs, local, multilabel) > > Any hints appreciated. My first step would be take out the journalling soft-updates to see if things improves. Could you test if this happens using brand new 9.0-RELEASE, but with journaled soft-updates disabled? (Hint: tunefs -j disable /; tunefs -n enable /; reboot in single user mode). Note that since you say 7.4-RELEASE userland wouldn't have similar issue, it might indicate a bug with the new journalled soft-updates's fsck implementation. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJPVTyCAAoJEG80Jeu8UPuzTsgIALvLdbzoNrmE/xUqDEJwGtC8 zcfGl7tEVLU6BbE3i2ww2tUcMJmOMZwrAg1gZmFyyDhVQwEEQQ2zSTa1Uy3oiNRA ts1X31VicEXIMam1Mt5K2G3lMbFES6TvyDrNOit6C2FeUrixHZ2C1JZmA7yzGlsg 7ZGco+3clwSy2yfKTf0ExjIibkC0Cgz60BgjpQKowpKjUCD5AzB/2EqmZk1pFz6S /NYOlF+YG/Y72V3GW1K5DTDFao5znzkulhc5Q/RUoD08o6hmdiaqiRHHmqjIP6Rt Gb8Dfggnm8XUBs+AzgUmssCSCvHMHYt9SEel2sB5gSVKzd5rIAXwLxaeKBco1Ws= =Hi9P -----END PGP SIGNATURE-----