FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Desktop

 
 
LinkBack Thread Tools
 
Old 09-02-2011, 07:01 PM
David Lehman
 
Default Use Ext4FS for all extended filesystems.

On Fri, 2011-09-02 at 13:32 -0500, David Lehman wrote:
> This should eliminate the issues caused by users specifying
> that their ext[23] filesystems should be mounted as ext4 as
> now they will all share a format class.

I should point out that this will have some other consequences. First,
we will no longer offer to create new ext2 or ext3 filesystems. (In
fact, specifying ext2 or 3 via kickstart will lead to us making you an
ext4 fs.) Second, we will no longer offer to migrate existing ext2
filesystems to ext3. I am personally okay with both, but I have no doubt
that someone will object.

Dave

>
> Related: rhbz#599119
> Related: rhbz#649171
> ---
> pyanaconda/storage/formats/fs.py | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
> index 90d97e7..abd83b8 100644
> --- a/pyanaconda/storage/formats/fs.py
> +++ b/pyanaconda/storage/formats/fs.py
> @@ -1025,7 +1025,7 @@ class Ext2FS(FS):
> argv = ["-p", self.device, "%dM" % (self.targetSize,)]
> return argv
>
> -register_device_format(Ext2FS)
> +#register_device_format(Ext2FS)
>
>
> class Ext3FS(Ext2FS):
> @@ -1037,12 +1037,13 @@ class Ext3FS(Ext2FS):
> _defaultMigrateOptions = ["-O", "extents"]
> partedSystem = fileSystemType["ext3"]
>
> -register_device_format(Ext3FS)
> +#register_device_format(Ext3FS)
>
>
> class Ext4FS(Ext3FS):
> """ ext4 filesystem. """
> _type = "ext4"
> + _udevTypes = ["ext2", "ext3"]
> _defaultFormatOptions = ["-t", "ext4"]
> _migratable = False
> _modules = ["ext4"]


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-06-2011, 08:30 PM
Chris Lumens
 
Default Use Ext4FS for all extended filesystems.

> I should point out that this will have some other consequences. First,
> we will no longer offer to create new ext2 or ext3 filesystems. (In
> fact, specifying ext2 or 3 via kickstart will lead to us making you an
> ext4 fs.)

Hm, I don't like this. While I'm pretty sure there aren't too many
people left making ext2 filesystems, I could see someone wanting to
stick with ext3 for now (at least in the RHEL side). At the least, I
don't like that you get something other than what you asked for.

> Second, we will no longer offer to migrate existing ext2
> filesystems to ext3.

This one doesn't seem like a real problem to me.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-06-2011, 10:10 PM
John Reiser
 
Default Use Ext4FS for all extended filesystems.

On 09/02/2011 12:01 PM, David Lehman wrote:
> I should point out that this will have some other consequences. First,
> we will no longer offer to create new ext2 or ext3 filesystems. (In
> fact, specifying ext2 or 3 via kickstart will lead to us making you an
> ext4 fs.)

For faster installs I specify ext2 because it has no journal.
(I convert later to ext3.) If ext2 and ext3 are going away,
then please add the option to create ext4 _with_ journal,
but turn off journalling for the rest of the install.

As long as an install cannot be resumed "in the middle", then
the journal's advantage of easy recovery after an interruption
(failure of power, network, drive/media, etc.) does not pay off
in practice.

--

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-06-2011, 10:14 PM
Eric Sandeen
 
Default Use Ext4FS for all extended filesystems.

On 9/6/11 5:10 PM, John Reiser wrote:
> On 09/02/2011 12:01 PM, David Lehman wrote:
>> I should point out that this will have some other consequences. First,
>> we will no longer offer to create new ext2 or ext3 filesystems. (In
>> fact, specifying ext2 or 3 via kickstart will lead to us making you an
>> ext4 fs.)
>
> For faster installs I specify ext2 because it has no journal.
> (I convert later to ext3.) If ext2 and ext3 are going away,
> then please add the option to create ext4 _with_ journal,
> but turn off journalling for the rest of the install.
>
> As long as an install cannot be resumed "in the middle", then
> the journal's advantage of easy recovery after an interruption
> (failure of power, network, drive/media, etc.) does not pay off
> in practice.

The only real way to do this would be to tune2fs the journal
off, and then tune2fs it on again when done. And I think you
may not end up with an ideally-placed journal if you do that -
and possibly even a fragmented one. So I'm not sure I'd really
recommend it.

I hesitate to even suggest this, but:

Running the install with barriers off would speed things up too,
for what it's worth, and that's just a mount option.
As long as you're willing to accept damage if you lose power halfway
through. IOW, it should only be for a fresh install, and never for
an upgrade...

-Eric

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 04:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org