Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2010 19:33:50 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-current@freebsd.org
Subject:   Re: Corruption of UFS filesystems after using md(4)
Message-ID:  <201011021933.51052.bruce@cran.org.uk>
In-Reply-To: <201011021912.14281.bruce@cran.org.uk>
References:  <201011021912.14281.bruce@cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 November 2010 19:12:14 Bruce Cran wrote:
> I've noticed in recent months that I appear to be getting silent corruption
> of my UFS filesystems - and I think it may be linked to using md(4) or
> creating sparse files.

I've confirmed this is a UFS bug related to sparse files: "truncate -s20G f1 
&& rm f1" is enough to trigger the error and start generating .viminfo files 
that appear to be 20GB. When running fsck I get an "Invalid block count" error 
if I just reboot without removing the .viminfo file; if I do remove it, I get 
a "Partially allocated inode" error.

-- 
Bruce Cran



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011021933.51052.bruce>