From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-97990-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MQQwF-00019M-0R
	for garchives@archives.gentoo.org; Mon, 13 Jul 2009 19:11:48 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E1484E00AB;
	Mon, 13 Jul 2009 19:11:45 +0000 (UTC)
Received: from mail-ew0-f207.google.com (mail-ew0-f207.google.com [209.85.219.207])
	by pigeon.gentoo.org (Postfix) with ESMTP id A103BE00AB
	for <gentoo-user@lists.gentoo.org>; Mon, 13 Jul 2009 19:11:45 +0000 (UTC)
Received: by ewy3 with SMTP id 3so2428443ewy.34
        for <gentoo-user@lists.gentoo.org>; Mon, 13 Jul 2009 12:11:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=ZWEZS3LoBOMndFAoQfB2wNWyNkBui7wlgzg+f/Ha2Uo=;
        b=KHdIAqvvGais0vb0h7yDdNpUeGxWw4eafalK+d6ttTF04acDRnj8So8W7cYFL4EGom
         z6whYHtT4e+QT1xDQSqtVSzIaIHj1S5KnHvMVZZwW2dNfJM0OizIU0R5XCZto5vjytN5
         /7Ac3QFR2MivMkgOy1RCBKgCoDCpnkW38qgRg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        b=g554u/C8utiDaSlA9Qtj9bDlxonn0aT057SOJGRI9iTSlI7BcdZ0u+ShThUNW3im51
         oUk/j+nHOj+5+U8PfWgB6Cput1OAO48sXw5f4IATv++otIAAAaWKR8te5WoZskzE8Jcb
         9Qpw8qNmzT7+IVieTV3xJvA8Kr5oJ8Vlf7ulU=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Sender: doug.hunley@gmail.com
Received: by 10.210.42.20 with SMTP id p20mr5447681ebp.60.1247512304403; Mon, 
	13 Jul 2009 12:11:44 -0700 (PDT)
In-Reply-To: <200907051950.01570.a@gaydenko.com>
References: <200907051950.01570.a@gaydenko.com>
Date: Mon, 13 Jul 2009 15:11:44 -0400
X-Google-Sender-Auth: e81b79ddda981b8e
Message-ID: <7284e2210907131211p450ce892v3a115f6410e611b0@mail.gmail.com>
Subject: [gentoo-user] Re: ext3 to ext4 safest and elaborate guide
From: Doug Hunley <doug@hunley.homeip.net>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: c7bd7105-5bd3-4f92-ad87-02dda009eb72
X-Archives-Hash: ef05496411b99f33a649ddb619e0bea5

On Sun, Jul 5, 2009 at 11:50, Andrew Gaydenko<a@gaydenko.com> wrote:
> There are few ext3 to ext4 migration notes/guides. Can anybody advice the most
> elaborate safe one?
>
>

This is what I did:
tune2fs -O sparse_super,filetype,resize_inode,dir_index,ext_attr,has_journal,extents,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
/dev/DEV

e2fsck -fpDC0 /dev/DEV

(Obviously, I booted off a LiveCD and to do this to my disks while
they were offline).

Some of the online directions say to resize the inodes with:
tune2fs -I 256 /dev/DEV

but there is a *lot* of chatter on the ext4 mailing list about this
not working as it should and you probably should avoid it for now (it
can be done separately later).

-- 
Douglas J Hunley - doug.hunley@gmail.com
http://douglasjhunley.com
Twitter: @hunleyd