From owner-freebsd-scsi Tue Oct 30 8:29:28 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 6795D37B408 for ; Tue, 30 Oct 2001 08:29:25 -0800 (PST) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #1) id 15yblU-00058u-00; Tue, 30 Oct 2001 17:29:24 +0100 Received: from b821c.pppool.de ([213.7.130.28] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.33 #3) id 15yblQ-00087w-00; Tue, 30 Oct 2001 17:29:20 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.6/8.11.6) with ESMTP id f9UGTAD07707; Tue, 30 Oct 2001 17:29:11 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200110301629.f9UGTAD07707@Magelan.Leidinger.net> Date: Tue, 30 Oct 2001 17:29:09 +0100 (CET) From: Alexander Leidinger Subject: Re: repeating medium errors and error from "camcontrol defects" To: ticso@cicely8.cicely.de Cc: ken@kdm.org, scsi@FreeBSD.ORG In-Reply-To: <20011030170702.A466@cicely8.cicely.de> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii 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 30 Okt, Bernd Walter 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. That's what I want to do. Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message