From owner-freebsd-questions Sun Oct 6 22:17:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5F8C37B401 for ; Sun, 6 Oct 2002 22:17:25 -0700 (PDT) Received: from ermis.cc.duth.gr (ermis.cc.duth.gr [192.108.114.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A429843E4A for ; Sun, 6 Oct 2002 22:17:24 -0700 (PDT) (envelope-from bigbrother@bonbon.net) Received: from iapetos.vlsi.gr (t8fm3ztmvnzryiwq@ikaros.ee.duth.gr [193.92.243.26]) by ermis.cc.duth.gr (8.12.3/8.12.3) with ESMTP id g9753ZDu035227 for ; Mon, 7 Oct 2002 08:04:01 +0300 (EEST) (envelope-from bigbrother@bonbon.net) Received: from bigb3server.vlsi.gr (bigb3server.vlsi.gr [192.168.3.111]) by iapetos.vlsi.gr (8.11.4/8.11.4) with ESMTP id g96Gfa119016 for ; Sun, 6 Oct 2002 19:41:36 +0300 Date: Sun, 6 Oct 2002 19:41:27 +0300 (EEST) From: BigBrother X-X-Sender: bigbrother@bigb3server.bbcluster.gr To: freebsd-questions@freebsd.org Subject: How to locate a sector to which file belongs? Message-ID: <20021006193826.Q212-100000@bigb3server.bbcluster.gr> 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 Recently my diskcheckd reported that error reading 65536 bytes from sector 1462144 on /dev/ad1 How can I locate which file occupies the sector 1462144 ? I know and used the badsect(8) tool to mark bad sectors on empty discs. This is a full disc and before I mark it I would like to find out what file is this. Thank you in advance. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message