From owner-freebsd-current@FreeBSD.ORG Tue Nov 2 19:57:38 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 387DD1065670 for ; Tue, 2 Nov 2010 19:57:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 886F38FC08 for ; Tue, 2 Nov 2010 19:57:37 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id oA2JvWiY007714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Nov 2010 21:57:32 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id oA2JvWaO054278; Tue, 2 Nov 2010 21:57:32 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id oA2JvWAV054277; Tue, 2 Nov 2010 21:57:32 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 2 Nov 2010 21:57:32 +0200 From: Kostik Belousov To: Bruce Cran Message-ID: <20101102195732.GL2392@deviant.kiev.zoral.com.ua> References: <201011021912.14281.bruce@cran.org.uk> <201011021933.51052.bruce@cran.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s7vS0va6JnAX3C/Y" Content-Disposition: inline In-Reply-To: <201011021933.51052.bruce@cran.org.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: Corruption of UFS filesystems after using md(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 19:57:38 -0000 --s7vS0va6JnAX3C/Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 02, 2010 at 07:33:50PM +0000, Bruce Cran wrote: > On Tuesday 02 November 2010 19:12:14 Bruce Cran wrote: > > I've noticed in recent months that I appear to be getting silent corrup= tion > > of my UFS filesystems - and I think it may be linked to using md(4) or > > creating sparse files. >=20 > I've confirmed this is a UFS bug related to sparse files: "truncate -s20G= f1=20 > && rm f1" is enough to trigger the error and start generating .viminfo fi= les=20 > that appear to be 20GB. When running fsck I get an "Invalid block count" = error=20 > if I just reboot without removing the .viminfo file; if I do remove it, I= get=20 > a "Partially allocated inode" error. What is .viminfo ? How is it related to the command you have shown ? What are exact mount options you are using ? --s7vS0va6JnAX3C/Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAkzQbSwACgkQC3+MBN1Mb4ixMQCghGO9CMCcSGcHqeOgMc7ytq8+ TWEAn3af1bpbWN4crvXWxIC2JmLdpZMV =BtSp -----END PGP SIGNATURE----- --s7vS0va6JnAX3C/Y--