From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261848AbVDZXnq (ORCPT ); Tue, 26 Apr 2005 19:43:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261850AbVDZXnq (ORCPT ); Tue, 26 Apr 2005 19:43:46 -0400 Received: from terminus.zytor.com ([209.128.68.124]:3472 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S261848AbVDZXnm (ORCPT ); Tue, 26 Apr 2005 19:43:42 -0400 Message-ID: <426ED20B.9070706@zytor.com> Date: Tue, 26 Apr 2005 16:43:07 -0700 From: "H. Peter Anvin" User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Morton CC: Linus Torvalds , magnus.damm@gmail.com, mason@suse.com, mike.taht@timesys.com, mpm@selenic.com, linux-kernel@vger.kernel.org, git@vger.kernel.org Subject: Re: Mercurial 0.3 vs git benchmarks References: <20050426004111.GI21897@waste.org> <200504260713.26020.mason@suse.com> <200504261138.46339.mason@suse.com> <20050426135606.7b21a2e2.akpm@osdl.org> <20050426155609.06e3ddcf.akpm@osdl.org> In-Reply-To: <20050426155609.06e3ddcf.akpm@osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton wrote: > Linus Torvalds wrote: > >> >> >>On Tue, 26 Apr 2005, Andrew Morton wrote: >> >>>Mounting as ext2 is a useful technique for determining whether the fs is >>>getting in the way. >> >>What's the preferred way to try to convert a root filesystem to a bigger >>journal? Forcing "rootfstype=ext2" at boot and boot into single-user, and >>then the appropriate magic tune2fs? Or what? >> > > > Gee, it's been ages. umm, > > - umount the fs > - tune2fs -O ^has_journal /dev/whatever > - fsck -fy (to clean up the now-orphaned journal inode) > - tune2fs -j -J size=nblocks (normally 4k blocks) > - mount the fs > I think this is overkill, but should of course be safe. While you're doing this anyway, you might want to make sure you enable -O +dir_index and run fsck -D. -hpa