From owner-freebsd-questions Wed Jun 13 5:50:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 0138137B403 for ; Wed, 13 Jun 2001 05:49:57 -0700 (PDT) (envelope-from greid@FreeBSD.org) Received: from sobek.openirc.co.uk ([62.252.12.74]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010613124954.FHEY4151.mta05-svc.ntlworld.com@sobek.openirc.co.uk>; Wed, 13 Jun 2001 13:49:54 +0100 Date: Wed, 13 Jun 2001 13:49:53 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Nick Barnes Cc: questions@FreeBSD.org Subject: Re: interpreting UFS hard error messages In-Reply-To: <4464.992432828@thrush.ravenbrook.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 13 Jun 2001, Nick Barnes wrote: > I know that, and I said as much in my original message. However, this > is not a critical machine and I'm happy to keep it running until the > disk actually dies (in my experience this can be months rather than > days). Also I would like to improve my understanding of the > filesystem and of messages such as this. The message you quoted was NOT a filesystem error message; it was a physical disk error. The same error will occur if you use UFS, ext2fs or any other disk-backed filesystem. It is a message from the ATA system, not the filesystem. If you want to improve your understanding of the filesystem, there are n papers and books detailing various aspects of it. > 4. Are there any tools for exploring a filesystem (e.g. figuring out > which blocks belong to a file, or which file owns a block)? How > about tools for disk verification? I've found dumpfs(8). I don't have time to check your sector calculations, but you may want to check out the diskcheckd project. IIRC you should find it linked from: http://people.freebsd.org/~ben/ -- +-------------------+---------------------+ | George Reid | FreeBSD Committer | | +44 7740 197460 | greid@FreeBSD.org | +-------------------+---------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message