From owner-freebsd-stable@FreeBSD.ORG Tue Mar 6 03:00:09 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4607B1065672 for ; Tue, 6 Mar 2012 03:00:09 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id DC1378FC0A for ; Tue, 6 Mar 2012 03:00:08 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5072215vbm.13 for ; Mon, 05 Mar 2012 19:00:08 -0800 (PST) Received-SPF: pass (google.com: domain of nonesuch@longcount.org designates 10.220.108.80 as permitted sender) client-ip=10.220.108.80; Authentication-Results: mr.google.com; spf=pass (google.com: domain of nonesuch@longcount.org designates 10.220.108.80 as permitted sender) smtp.mail=nonesuch@longcount.org Received: from mr.google.com ([10.220.108.80]) by 10.220.108.80 with SMTP id e16mr340185vcp.43.1331002808267 (num_hops = 1); Mon, 05 Mar 2012 19:00:08 -0800 (PST) Received: by 10.220.108.80 with SMTP id e16mr279418vcp.43.1331002808124; Mon, 05 Mar 2012 19:00:08 -0800 (PST) Received: from [97.32.113.204] (204.sub-97-32-113.myvzw.com. [97.32.113.204]) by mx.google.com with ESMTPS id w6sm28395234vdj.4.2012.03.05.19.00.05 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Mar 2012 19:00:07 -0800 (PST) References: <4F553C82.2000305@delphij.net> From: Mark Saad Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (9A406) In-Reply-To: <4F553C82.2000305@delphij.net> Message-Id: <540DFF08-0064-4AC3-9FFA-31817148B302@longcount.org> Date: Mon, 5 Mar 2012 22:00:03 -0500 To: FreeBSD Stable Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Gm-Message-State: ALoCoQnjm+6WohhNWliU3pVgwqsTlWwkyNBlTvS4X8KR2TPMqoDJr7hBJJufM3oAbkNciqPDnubs Subject: Re: Heavy fs corruption with 9.0-RELEASE 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: Tue, 06 Mar 2012 03:00:09 -0000 On Mar 5, 2012, at 5:21 PM, Xin Li wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > On 03/05/12 14:12, Arnaud Lacombe wrote: >> Hi, >>=20 >> 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=20 >> 7.4-RELEASE userland (including FS). I've seen this behavior on=20 >> various CF, so a single bad card is unlikely to be the culprit. >=20 > FWIW FS is part of kernel. So technically you're running 9.0-RELEASE > UFS with 7.4-RELEASE userland. >=20 >> Here are the currently mounted filesystem on the machine, as well >> as mount options: >>=20 >> # mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs >> on /dev (devfs, local, multilabel) >>=20 >> Any hints appreciated. >=20 > 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? >=20 > (Hint: tunefs -j disable /; tunefs -n enable /; reboot in single user > mode). >=20 > 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. >=20 How are you fsck'ng the 9.0 ufs ? Do you have a 9.0 fsck , tunefs , and mou= nt ? Also was the file system created on 9.0 or 7.4 or better yet was it a= 7.4 newfs or 9.0 newfs ? What options did you use ?=20 > Cheers, > - --=20 > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.18 (FreeBSD) >=20 > iQEcBAEBCAAGBQJPVTyCAAoJEG80Jeu8UPuzTsgIALvLdbzoNrmE/xUqDEJwGtC8 > zcfGl7tEVLU6BbE3i2ww2tUcMJmOMZwrAg1gZmFyyDhVQwEEQQ2zSTa1Uy3oiNRA > ts1X31VicEXIMam1Mt5K2G3lMbFES6TvyDrNOit6C2FeUrixHZ2C1JZmA7yzGlsg > 7ZGco+3clwSy2yfKTf0ExjIibkC0Cgz60BgjpQKowpKjUCD5AzB/2EqmZk1pFz6S > /NYOlF+YG/Y72V3GW1K5DTDFao5znzkulhc5Q/RUoD08o6hmdiaqiRHHmqjIP6Rt > Gb8Dfggnm8XUBs+AzgUmssCSCvHMHYt9SEel2sB5gSVKzd5rIAXwLxaeKBco1Ws=3D > =3DHi9P > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --- Mark saad | mark.saad@longcount.org