. and .. directories missing

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Sep 10 06:06:56 PDT 2004


Aram Khalili <akhali1 at yahoo.com> writes:

> I'm having some trouble with FreeBSD on my T20 ThinkPad.  There is a
> problem with the hard disk that prevents me from booting into
> multi-user mode.  I'm not exactly sure what the problem is; fsck
> reports many hundreds of errors on the /usr & /home partitions, claims
> to fix those, but doesn't.  If I run fsck back to back, the same errors
> show up.  When I reboot after fsck, it does attempt to boot (since
> filesystems are marked clean) but panic, and fails to sync 1 buffer. 
> Not sure which one, but it's always 1 buffer.  I'm also not entirely
> sure what caused this problem  to occur, but right before when it
> occurred I was doing a massive portupgrade -rR of many things, and many
> (but not all) of the disk problems seem to be in the /usr/ports tree.

Make sure you're running fsck with the partition unmounted (or at
*least* read-only, but preferably not mounted at all).  If repeated
runs of fsck continue to get the same errors, then you have very
serious problems indeed.


More information about the freebsd-questions mailing list