Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] ext3 to ext4 safest and elaborate guide

1 view
Skip to first unread message

Andrew Gaydenko

unread,
Jul 5, 2009, 12:00:19 PM7/5/09
to
There are few ext3 to ext4 migration notes/guides. Can anybody advice the most
elaborate safe one?

Stroller

unread,
Jul 6, 2009, 9:10:11 AM7/6/09
to

The *safest* one is to backup your data & reformat the partition, then
restore your data from the backup.

I wasn't under the impression that any degree of elaborateness was
necessary, though.

Stroller.

Doug Hunley

unread,
Jul 13, 2009, 3:20:07 PM7/13/09
to
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....@gmail.com
http://douglasjhunley.com
Twitter: @hunleyd

0 new messages