Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261157AbUCDJ3T (ORCPT ); Thu, 4 Mar 2004 04:29:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261568AbUCDJ3T (ORCPT ); Thu, 4 Mar 2004 04:29:19 -0500 Received: from kettenhemdhuehner.de ([217.160.131.79]:31155 "EHLO p15104972.pureserver.info") by vger.kernel.org with ESMTP id S261157AbUCDJ3R (ORCPT ); Thu, 4 Mar 2004 04:29:17 -0500 From: Kristian =?iso-8859-15?q?K=F6hntopp?= To: Felipe Alfaro Solana , Robin Rosenberg Subject: Re: Desktop Filesystem Benchmarks in 2.6.3 Date: Thu, 4 Mar 2004 10:28:07 +0100 User-Agent: KMail/1.5.4 Cc: David Weinehall , Andrew Ho , Dax Kelson , Peter Nelson , Hans Reiser , linux-kernel , ext2-devel@lists.sourceforge.net, ext3-users@redhat.com, jfs-discussion@www-124.southbury.usf.ibm.com, reiserfs-list@namesys.com, linux-xfs@oss.sgi.com References: <4044119D.6050502@andrew.cmu.edu> <200403031059.26483.robin.rosenberg.lists@dewire.com> <1078309141.863.3.camel@teapot.felipe-alfaro.com> In-Reply-To: <1078309141.863.3.camel@teapot.felipe-alfaro.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403041028.07235.kris@koehntopp.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1585 Lines: 31 On Wednesday 03 March 2004 11:19, Felipe Alfaro Solana wrote: > The problem is that I couldn't save anything: the XFS volume refused to > mount and the XFS recovery tools refused to fix anything. It was just a > single disk bad block. For example in ext2/3 critical parts are > replicated several times over the volume, so there's minimal chance of > being unable to mount the volume and recover important files. That is a misconception. What is being replicated multiple times in ext2 is the superblock and the block group descriptors. But these are not really needed for recovery (as long as they have default values, which is the case in the vast majority of installations). What is not being replicated is the block allocation bitmap, inode allocation bitmap and the inodes themselves. By running "mke2fs -S" on a ext2 file system, you will rewrite all superblocks, all block group descriptors, and all allocation bitmaps, but leave the inodes themselves intact. You can recreate the filesystem from that with e2fsck, proving that the information from the replicated parts of the file systems is not really necessary. All that e2fsck needs to recover the system is the information from the inodes. If they are damaged (and they are not replicated), the files having inodes in damaged blocks cannot be recovered. Kristian - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/