<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TuXHaT&#187; Filesystem Archives  &#8211; Blog Title</title>
	<atom:link href="http://www.tuxhat.com/category/linux/filesystem/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tuxhat.com</link>
	<description>Linux / sysadmin / Debian / Ubuntu / Red Hat / Centos</description>
	<lastBuildDate>Tue, 13 Oct 2009 07:25:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ext 4 filesystem stable released with linux-2.6.28</title>
		<link>http://www.tuxhat.com/linux/filesystem/ext-4-filesystem-stable-released-with-linux-2628/</link>
		<comments>http://www.tuxhat.com/linux/filesystem/ext-4-filesystem-stable-released-with-linux-2628/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 13:38:12 +0000</pubDate>
		<dc:creator>tux</dc:creator>
				<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[linux 2.6.28]]></category>

		<guid isPermaLink="false">http://www.tuxhat.com/?p=3</guid>
		<description><![CDATA[

All should be well set to go ahead with migrating to ext4 filesystem, as stable version of ext4 is out with the latest linux kernel 2.6.28. Unlike ext2 to ext3, which was all about adding journaling feature to ext2, ext4 had lot of improvements.
Ext3 &#8211; 16 TB of maximum filesystem size, and 2 TB of [...]]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="entry">
<p>All should be well set to go ahead with migrating to ext4 filesystem, as stable version of ext4 is out with the latest linux kernel 2.6.28. Unlike ext2 to ext3, which was all about adding journaling feature to ext2, ext4 had lot of improvements.</p>
<p>Ext3 &#8211; 16 TB of maximum filesystem size, and 2 TB of maximum file size.<br />
Number of subdirectories contained in a single directory in Ext3 is 32.000.</p>
<p>Ext4 adds 48-bit block addressing, so it will have 1 EB of maximum filesystem size and 16 TB of maximum file size. 1 EB = 1,048,576 TB (1 EB = 1024 PB, 1 PB = 1024 TB, 1 TB = 1024 GB).</p>
<p>Ext4 breaks that limit and allows a unlimited number of subdirectories.</p>
<p>Introduction of extends (Instead of indirect mapping of each and every blocks used by a file in ext3, ext4 produces ‘extents’ which says the data blocks of a file are in next ‘n’ blocks, mean a 200 MB file can be stored across a bunch of contiguous blocks ) in ext4 is set to bring a drastic performance upgrade and reduce fragmentation.</p>
<p>Unlike ext3, which can allocate only one block at a time, ext4 comes up with multi block allocator. (mballoc). This reduces disk allocation time greatly in ext4.</p>
<p>Delayed allocation functionality of ext4 will prevent excessive work done. In ext3, when a write function call is made for a 10MB file, it immediately starts allocating the 10MB even if the data is going t Delayed allocation functionality of ext4 will prevent excessive work done. In ext3, when a write function call is made for a 10MB file, it immediately starts allocating the 10MB even if the data is going to be in cache before it actually gets written to the disk. Where as ext4 only allocates disk space when actually the data gets written from cache to disk. This functionality works well with the above said extends and multiblock allocation features.o be in cache before it actually gets written to the disk. Where as ext4 only allocates disk space when actually the data gets written from cache to disk. This functionality works well with the above said extends and multiblock allocation features.</p>
<p>Next amazing thing about ext4 is the reduced fsck time needed ~ 2 to 20 times… whoo… This is made possible by writing a list of unused inodes at the end of each inode group table, so fsck can skip those inodes from checking. The free inode list is created by fsck when its ran first at the first time on the filesystem, from the very next fsck you will have the advantage of reduced checking time.</p>
<p>Journal checksumming is another important feature introduced in ext4, which writes and stores checksums of filesystem journal. This speeds up ext4 20% compared to its predecessor ext3 by omitting two phase commit system.</p>
<p>Online defragmentation is set to be live in future releases of linux kernel which supports a tool named e4defrag, which do defragmentation of ext4 filesystems.</p>
<p>inode related features,</p>
<p>* Larger inodes for accommodating nano time stamps, inode reservation.<br />
* nano timestamps for files<br />
* Inode reservation, when a directory is created some inodes are created in advance for faster performance.<br />
* faster extended attributes</p>
<p>Persistent preallocation</p>
<p>Barriers on by default</p>
<p>Migrating from ext3 to ext4</p>
<p>You need to use the tune2fs and fsck tools in the filesystem, and that filesystem needs to be unmounted. Run:</p>
<p>tune2fs -O extents,uninit_bg,dir_index /dev/yourfilesystem</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.tuxhat.com/linux/filesystem/ext-4-filesystem-stable-released-with-linux-2628/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
