Corruption of UFS filesystems after using md(4)
Bruce Cran
bruce at cran.org.uk
Tue Nov 2 19:33:53 UTC 2010
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
More information about the freebsd-current
mailing list