From owner-freebsd-scsi Tue Oct 30 8:10:27 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id B9D0037B401 for ; Tue, 30 Oct 2001 08:10:24 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.0/8.11.0) with UUCP id f9UGAC279192; Tue, 30 Oct 2001 17:10:12 +0100 (CET) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id f9UG7WSe081739; Tue, 30 Oct 2001 17:07:33 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id f9UG7AF16151; Tue, 30 Oct 2001 17:07:10 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.4/8.11.4) id f9UG72q00792; Tue, 30 Oct 2001 17:07:03 +0100 (CET) (envelope-from ticso) Date: Tue, 30 Oct 2001 17:07:02 +0100 From: Bernd Walter To: Alexander Leidinger Cc: ken@kdm.org, scsi@FreeBSD.ORG Subject: Re: repeating medium errors and error from "camcontrol defects" Message-ID: <20011030170702.A466@cicely8.cicely.de> References: <20011027160051.A66375@panzer.kdm.org> <200110301309.f9UD9bD05779@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110301309.f9UD9bD05779@Magelan.Leidinger.net> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 30, 2001 at 02:09:36PM +0100, Alexander Leidinger wrote: > On 27 Okt, Kenneth D. Merry wrote: > At the moment I try to squeeze some information (or pointers to docs) > about the on disk layout of FFS out of fs@freebsd.org. bde suggested to > just compare the files on the partition with the backup or just to read > every file on it and see which one produces errors (I'm going to do this > now), but I think a dedicated program which does the phys block -> > filename mapping needs less resources on a possible heavy loaded system. A directory entry (filename) points to an inode, which directly and indirectly points to the logical blocks inside the partition. There are no references for the way back. So the only way to find out is to traverse the directorys and inodes until you have found the inode and then to continue with the directorys until you found all remaining directory enties. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message