public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ext3 to ext4 safest and elaborate guide
@ 2009-07-05 15:50 Andrew Gaydenko
  2009-07-06 13:07 ` Stroller
  2009-07-13 19:11 ` [gentoo-user] " Doug Hunley
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Gaydenko @ 2009-07-05 15:50 UTC (permalink / raw
  To: gentoo-user

There are few ext3 to ext4 migration notes/guides. Can anybody advice the most 
elaborate safe one?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] ext3 to ext4 safest and elaborate guide
  2009-07-05 15:50 [gentoo-user] ext3 to ext4 safest and elaborate guide Andrew Gaydenko
@ 2009-07-06 13:07 ` Stroller
  2009-07-13 19:11 ` [gentoo-user] " Doug Hunley
  1 sibling, 0 replies; 3+ messages in thread
From: Stroller @ 2009-07-06 13:07 UTC (permalink / raw
  To: gentoo-user


On 5 Jul 2009, at 16:50, Andrew Gaydenko wrote:

> There are few ext3 to ext4 migration notes/guides. Can anybody  
> advice the most
> elaborate safe one?

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: ext3 to ext4 safest and elaborate guide
  2009-07-05 15:50 [gentoo-user] ext3 to ext4 safest and elaborate guide Andrew Gaydenko
  2009-07-06 13:07 ` Stroller
@ 2009-07-13 19:11 ` Doug Hunley
  1 sibling, 0 replies; 3+ messages in thread
From: Doug Hunley @ 2009-07-13 19:11 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-13 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-05 15:50 [gentoo-user] ext3 to ext4 safest and elaborate guide Andrew Gaydenko
2009-07-06 13:07 ` Stroller
2009-07-13 19:11 ` [gentoo-user] " Doug Hunley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox