fsck

Tim McCullagh timbo at halenet.com.au
Tue Jan 20 03:45:35 PST 2004


Hi Fellows

Can someone shed some light on whether it is possible to do a fsck check on
a dirty file system if it is installed (and not mounted) as a second HDD on
a new system install.  I have a mail server that crashed this morning and
now fails to boot even into single user mode.

So I installed a clean install of FreeBSD 4.9 on a spare HDD and have tried
to mount the old drive, but it complains about a  "Filesystem is not clean -
run fsck".   When I do this it seems to want to "WARNING: R/W mount of /var
denied."      /var is already mounted on da0s1f.   Is there any way to run
fsck to clean up the filesystem on /dev/da1s1f so that it can be mounted as
a second  HDD in this type of setup?

Are there any other suggestions as to how to clean it up?

Regards

Tim



More information about the freebsd-isp mailing list