Ext4 is now supported as a stable file system by the Jaunty 2.6.28 kernel.
I'm really impressed with ext4. The 2 most improved features that I
immediately noticed were file removal, and (I assume) file creation.
In the course of my work flow I often remove whole kernel trees and all
of the compiled objects. Under ext3 removing 228K files could take as
long as 5 minutes on a relatively fast disk (98 Mbyte/sec, Supermicro
dual quad core @ 2.40GHz). Under ext4 it takes about 15 _seconds_.
Kernel build performance also improved dramatically, an improvement that
I assume is largely attributable to file creation and write performance.
Under ext3 a build cycle for all i386/amd64 flavours typically took 40
minutes with a populated ccache. Under ext4 its now taking about 20 minutes.
I can't say much about stability, though I've been using ext4 on my
primary build server for several days. It has performed flawlessly, but
absence of evidence is not evidence of absence.
In order to enjoy the full benefits of ext4 you must format a partition
using mkfs.ext4. Here are a couple of articles that I read about
migrating to ext4:
Creating an ext4 file system in Jaunty is a bit difficult because its
not an option supported (yet) by the installers, nor does grub 1 support
booting from an ext4 file system. About your only choice is to format an
existing non-boot partition, which I did in the following way:
1) Install from scratch using the manual partitioning method wherein
/home is mounted on a separate partition.
2) 'sudo su -' and set a root password. Exit all the way out to a login
prompt, then login directly as root.
3) deluser on the one account whose home directory is on /home
4) 'umount /home', mkfs.ext4 on the device upon which /home was mounted,
e.g. 'mkfs.ext4 /dev/sda3'
5) Determine the new volume ID and replace the current value in
/etc/fstab, e.g., 'vol_id --uuid /dev/sda3'
6) 'mount /home' and recreate your user info using adduser.
Simple, huh? In retrospect there are simpler ways of dealing with the
account on /home, like temporarily moving it to someplace on /, but this
is the way I did it.
迷你版vcxz 于 2012-01-15 17:23:54发表:
同意楼上的。
pl_014 于 2012-01-14 12:03:29发表:
我的debian squeeze的内核是2.6.32的,用ext4没问题
debianer 于 2012-01-14 08:58:01发表:
对于一般用户或一般应用,ext3与ext4其实没区别。
JinXian 于 2012-01-13 22:06:37发表:
老的ext3用着
okzokz123 于 2012-01-12 21:36:29发表:
2.6.35过后用ext4应该没啥大问题了 fsck速度快很多
暧你昧 于 2012-01-12 20:16:19发表:
ext4
enjoy545352 于 2012-01-12 13:54:31发表:
踩踩,受教了~~~
irongeek 于 2012-01-02 17:30:28发表:
My experiences with ext4 on Jaunty
Tim Gardner tcanonical at tpi.com
Wed Dec 31 18:58:18 GMT 2008
Previous message: Uploaded Jaunty 2.6.28-4.5
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ext4 is now supported as a stable file system by the Jaunty 2.6.28 kernel.
I'm really impressed with ext4. The 2 most improved features that I
immediately noticed were file removal, and (I assume) file creation.
In the course of my work flow I often remove whole kernel trees and all
of the compiled objects. Under ext3 removing 228K files could take as
long as 5 minutes on a relatively fast disk (98 Mbyte/sec, Supermicro
dual quad core @ 2.40GHz). Under ext4 it takes about 15 _seconds_.
Kernel build performance also improved dramatically, an improvement that
I assume is largely attributable to file creation and write performance.
Under ext3 a build cycle for all i386/amd64 flavours typically took 40
minutes with a populated ccache. Under ext4 its now taking about 20 minutes.
I can't say much about stability, though I've been using ext4 on my
primary build server for several days. It has performed flawlessly, but
absence of evidence is not evidence of absence.
In order to enjoy the full benefits of ext4 you must format a partition
using mkfs.ext4. Here are a couple of articles that I read about
migrating to ext4:
http://www.ibm.com/developerworks/linux/library/l-ext4/index.html
http://kernelnewbies.org/Ext4
Creating an ext4 file system in Jaunty is a bit difficult because its
not an option supported (yet) by the installers, nor does grub 1 support
booting from an ext4 file system. About your only choice is to format an
existing non-boot partition, which I did in the following way:
1) Install from scratch using the manual partitioning method wherein
/home is mounted on a separate partition.
2) 'sudo su -' and set a root password. Exit all the way out to a login
prompt, then login directly as root.
3) deluser on the one account whose home directory is on /home
4) 'umount /home', mkfs.ext4 on the device upon which /home was mounted,
e.g. 'mkfs.ext4 /dev/sda3'
5) Determine the new volume ID and replace the current value in
/etc/fstab, e.g., 'vol_id --uuid /dev/sda3'
6) 'mount /home' and recreate your user info using adduser.
Simple, huh? In retrospect there are simpler ways of dealing with the
account on /home, like temporarily moving it to someplace on /, but this
is the way I did it.
rtg
--
Tim Gardner tim.gardner at canonical.com
花猫 于 2012-01-02 15:19:49发表:
我就是默认,默认的是3就用3,是4就用4。
dengbao2001 于 2012-01-02 11:25:34发表:
主流的发行版已经支持了EXT4了
Laifus 于 2012-01-02 09:21:17发表:
奔四8
pl_014 于 2012-01-02 07:28:03发表:
ext3和ext4之间当然选ext4了,稳定性方面已经没什么问题了。
me26659408 于 2012-01-01 22:31:32发表:
当然是ext4了,稳定。