From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 14 03:34:20 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF2A216A400 for ; Thu, 14 Jun 2007 03:34:20 +0000 (UTC) (envelope-from matthew@digitalstratum.com) Received: from mail.mundomateo.com (static-24-56-193-117.chrlmi.cablespeed.com [24.56.193.117]) by mx1.freebsd.org (Postfix) with ESMTP id 88E3213C447 for ; Thu, 14 Jun 2007 03:34:20 +0000 (UTC) (envelope-from matthew@digitalstratum.com) Received: from [10.0.81.13] (unknown [10.0.81.1]) by mail.mundomateo.com (Postfix) with ESMTP id ECF5DBDC45 for ; Wed, 13 Jun 2007 23:14:28 -0400 (EDT) Message-ID: <4670B27B.6060606@digitalstratum.com> Date: Wed, 13 Jun 2007 23:14:03 -0400 From: Matthew Hagerty Organization: Digital Stratum User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Disk block or sector to file mapping? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matthew@digitalstratum.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 03:34:20 -0000 Greetings, I have a drive that failed and fsck and dump both report the failed sector or block (the term seems to be used interchangeably at times), but how can I find out what file(s) were using that block? I have a file-based backup and I could possibly replace the bad files if I know which ones were affected by the bad blocks. Thanks, Matthew