Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 14 guests | Time: 22:06
ext4 file system standard in release 1.18?
paldo Support Forum    paldo    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
5 posts found.
 ext4 file system standard in release 1.18?
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Since kernel 2.6.28 ext4 is now supported.
When do we use this file system as standard file format?
Release 1.18 or even in our next release?
Maybe we´ve to update gparted as well ... and patch grub to support ext4
Profile   Private Message   E-Mail
Created: 2009-02-06 16:57 | Modified: 2009-02-07 01:00 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: ext4 file system standard in release 1.18?
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
gparted-0.4.2 can handle ext4 ... just committed.
Profile   Private Message   E-Mail
Created: 2009-02-07 00:46
Highlight selected Text   Edit   Delete   Quote Reply
 Re: ext4 file system standard in release 1.18?
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
1. Creating a new Ext4 filesystem from the scratch

The easiest one, recommended for new installations. Just update your e2fsprogs package to Ext4, and create the filesystem with mkfs.ext4.

2. Migrate existing Ext3 filesystems to Ext4


You need to use the tune2fs and fsck tools in the filesystem, and that filesystem needs to be unmounted. Run:

Code[In neuem Fenster öffnen]
tune2fs -O extents,uninit_bg,dir_index /dev/yourfilesystem


After running this command you MUST run fsck. If you don't do it, Ext4 WILL NOT MOUNT your filesystem. This fsck run is needed to return the filesystem to a consistent state. It WILL tell you that it finds checksum errors in the group descriptors - it's expected, and it's exactly what it needs to be rebuilt to be able to mount it as Ext4, so don't get surprised by them. Since each time it finds one of those errors it asks you what to do, always say YES. If you don't want to be asked, add the "-p" parameter to the fsck command, it means "automatic repair":

Code[In neuem Fenster öffnen]
fsck -pf /dev/yourfilesystem


There's another thing that must be mentioned. All your existing files will continue using the old indirect mapping to map all the blocks of data. The online defrag tool will be able to migrate each one of those files to a extent format (using a ioctl that tells the filesystem to rewrite the file with the extent format; you can use it safely while you're using the filesystem normally)

3. Mount an existing Ext3 filesystem with Ext4 without changing the format

You can mount an existing Ext3 filesystem with Ext4 but without using features that change the disk format. This means you will be able to mount your filesystem with Ext3 again. You can mount an existing Ext3 filesystem with "mount -t ext4 /dev/yourpartition /mnt". Doing this without having done the conversion process described in the previous point will force Ext4 to not use the features that change the disk format, such as extents, it will use only the features that don't change the file format, such as mballoc or delayed allocation. You'll be able to mount your filesystem as Ext3 again. But obviously you'll be losing the advantages of the Ext4 features that don't get used...
Profile   Private Message   E-Mail
Created: 2009-02-07 00:55
Highlight selected Text   Edit   Delete   Quote Reply
 Re: ext4 file system standard in release 1.18?
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
more about ext4 here:

http://kernelnewbies.org/Ext4
Profile   Private Message   E-Mail
Created: 2009-02-07 00:59
Highlight selected Text   Edit   Delete   Quote Reply
 Re: ext4 file system standard in release 1.18?
Mitglied
 
 
student
 
Posts: 72
Registered: 2008-12-08
i'm using ext4 in other distro and, in my opinion, i think that Paldo MUST has EXT4 for default.
I say MUST because EXT4 is more better than Ext3 and is stable in all his part.
I think that a distro - super update distro - is impossible to haven't EXT4 fs default ;-)
 
..............................
OS: Paldo-1.18-testing (Gnome 2.26.2)
Profile   Private Message   Web
Created: 2009-03-14 14:56
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a