File System errors

Mikhail Goriachev mikhailg at webanoide.org
Wed May 16 18:35:27 UTC 2007


Ross Penner wrote:
> On 5/15/07, Roland Smith <rsmith at xs4all.nl> wrote:
>> On Tue, May 15, 2007 at 12:15:06PM -0600, Ross Penner wrote:
>>>  I recently had my system freeze so I had to manually restart it. I was
>>>  worried that there would be some problems with the filesystem so I
>>>  looked into the matter and discovered the utility fsck. I ran this as
>>>  root and I got the following:
>> You normally don't have to do this manually. If a filesystem isn't
>> cleanly unmounted, it is automatically checked (in the background if
>> possible, so it might take a while) on the next boot.
>>
>> And in that case fsck won't bother you unless it runs into problems it
>> can't solve.
>>
>> Roland
>> --
>> R.F.Smith                                   http://www.xs4all.nl/~rsmith/
>> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
>> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>>
> 
> Thanks for everybodies help. I restarted in single user mode which
> allowed me to do the check manually. I'll probably just let the
> background check go if it happens again.


By default, the background checking doesn't do much. In my experience,
every time one of the machines goes down, I have to schedule a manual
fsck (fsck -fy) in single user mode.

Another option, probably, is this:

fsck_y_enable="YES"

It sounds scary though.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg at webanoide.org
Web: www.webanoide.org


More information about the freebsd-questions mailing list