Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 21:39:25 +1000
From:      "Tim McCullagh" <timbo@halenet.com.au>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   fsck 
Message-ID:  <534601c3df4a$0e8ef650$6500a8c0@halenet.com.au>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534601c3df4a$0e8ef650$6500a8c0>