File system corruption

Andriy Gapon avg at icyb.net.ua
Thu May 14 13:02:56 UTC 2009


on 13/05/2009 23:46 Andrew Snow said the following:
> Pat Wendorf wrote:
>> I spoke too soon I guess: A buddy of mine at the hosting provider took
>> down
>> the box and did a fsck -y on the var partition, this seems to have
>> cleaned
>> it up.  It looks like the regular fsck -p could not repair it.
> 
> 
> You may like to put fsck_y_enable="YES" in your /etc/rc.conf, though
> this does not affect the root volume.

This would make fsck -y run on all filesystems (clean, just checked, always ro,
etc) iff fsck -p fails. This can be dangerous too if filesystem state is such that
fsck gets confused.


-- 
Andriy Gapon


More information about the freebsd-stable mailing list