fsck!
Kris Kennaway
kris at obsecurity.org
Fri Jun 27 17:43:48 PDT 2003
On Fri, Jun 27, 2003 at 04:55:45PM -0600, Brett Glass wrote:
> Often, after a FreeBSD 4.x system has been powered down without a proper
> shutdown, the system complains of inconsistencies on the disk. Yet, if
> one runs the command "fsck -f" after it's rebooted, the fsck program
> doesn't fix the problems it finds; instead, it says "NO WRITE" at the
> beginning of each report. (It seems not to want to touch things unless
> they're unmounted.) So, the system has to come down AGAIN.
>
> What's the best and fastest way of ensuring disk consistency on a system
> that you're powering up after an abrupt outage? What about a system that
> powered up again before you arrived to nurse it through a reboot?
You're supposed to boot into single-user mode to repair the
filesystems before attempting to bring it up to multiuser state.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030627/29bcc44e/attachment.bin
More information about the freebsd-questions
mailing list