Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 14:03:46 -0800 (PST)
From:      Mark Miller <joup@bnet.org>
To:        freebsd-questions@freebsd.org
Subject:   retrieving data from a failing drive
Message-ID:  <20021111135649.S8068-100000@soda.csua.berkeley.edu>

next in thread | raw e-mail | index | archive | help
Hi,

I have a 20G /usr partition (IDE drive) that is reporting hard errors at a
certain sector.  I've run fsck -y many times, and each time it hits the
bad sector, it falls back from DMA to PIO mode, and finally exits, saying
"The filesystem is still marked dirty, please run fsck again."

I'm looking around for a new drive that I can restore to, but I don't know
how to read data off a dirty filesystem.  Is there any way I can force the
FS to be marked clean, or to mount a dirty filesystem (possibly in
read-only mode)?  OTOH, would something like netbsd's g4u (ghost for unix)
help me out here?

TIA
Mark Miller


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021111135649.S8068-100000>