Subject: Re: file system not clean
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Ray Phillips <r.phillips@mailbox.uq.edu.au>
List: port-i386
Date: 03/21/2001 09:16:34
Manuel:

>On Tue, Mar 20, 2001 at 12:58:55PM +1000, Ray Phillips wrote:
>> Dear NetBSD/i386:
>>
>> When my PC (which is running NetBSD 1.5) rebooted after a power outage
>> there was an error message on the console:
>>
>> Mounting all filesystems...
>> /dev/wd0a: file system not clean (fs_flags=8); please fsck(8)
>
>What does your /etc/fstab looks like ?
>fsck shoud be run at beggining of the multiuser startup.


I've edited my /etc/fstab file.  It contains these lines:

/dev/wd0a / ffs rw 0 0
/dev/sd0b none swap sw 0 0
/dev/sd1b none swap sw 0 0
/kern /kern kernfs rw
/dev/sd0e /usr ffs rw 1 2
/dev/sd1e /usr2 ffs rw 1 2

Does that look reasonable?

By the way, following Kazushi's suggestion of rebooting in single-user
mode, running fsck and rebooting seemed to fix the problem -- at least the
error message went away.


Ray