Mailinglist Archive: opensuse-kernel (89 mails)

< Previous Next >
Re: [opensuse-kernel] Using ext4 driver for ext2 filesystem in Factory
On Fri 08-04-11 13:15:54, doiggl@xxxxxxxxxxxxxxxxxx wrote:
On Thu, 7 Apr 2011 20:57:12 +0200, Jan Kara <jack@xxxxxxx> wrote:
Hello,

we are figuring out upstream how to eventually get rid of maintaing
three
code bases of ext2, ext3, and ext4 in parallel. These days ext4 kernel
driver is able to handle both ext2 and ext3 filesystems in a backward
compatible manner - i.e., you can mount, access, modify the filesystem
with
ext4 driver and then still be able to use it with the old ext2 driver.
So I'd think that we could try changing config of our kernel in Factory
so that ext4 driver is used for ext2 filesystem and see whether
something
breaks or not.

Do people have any opinion on this?

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR

Some thoughts on this
If filesystem is not in use e.g overnight /out of business hours
- tar existing files up to somewhere else provided there is enough free
target space
- Reformat {ext2, ext3}partition to ext4
- Restore files to the reformatted partition
- do the smaller partitions first [df -h] will get the sizes of partitions
- unsure if dir/file permissions are preserved though.
- Prehaps use cron to assist to do the job
Yeah, sure you can migrate the filesystem this way and I think it might
be desirable for most users (possibly then run ext4 in nojournal mode) but
I understand some people might wish to stay with ext2 for legacy reasons.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References