<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Linux Convert ext3 to ext4 File system</title> <atom:link href="http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: matter</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-170518</link> <dc:creator>matter</dc:creator> <pubDate>Fri, 08 Apr 2011 01:23:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-170518</guid> <description>Another &lt;a href=http://www.debian-administration.org/article/Migrating_a_live_system_from_ext3_to_ext4_filesystem rel=&quot;nofollow&quot;&gt;reference advised&lt;/a&gt; to run fsck.ext4 with -D after tune2fs:
fsck.ext4 -yfD /dev/sdc1
Linas also advised enabling extents on all files / directories which will save the trouble of copying things around in order to achieve the full ext4 benefit.  I used this after mounting the partition:
find . -xdev -type f -print0 &#124;\
while read -d $&#039;&#039; FILE; do chattr +e &quot;${FILE}&quot;; done
find . -xdev -type d -print0 &#124;\
while read -d $&#039;&#039; DIR; do chattr +e &quot;${DIR}&quot;; done
Cheers!</description> <content:encoded><![CDATA[<p>Another <a
href=http://www.debian-administration.org/article/Migrating_a_live_system_from_ext3_to_ext4_filesystem rel="nofollow">reference advised</a> to run fsck.ext4 with -D after tune2fs:</p><p>fsck.ext4 -yfD /dev/sdc1</p><p>Linas also advised enabling extents on all files / directories which will save the trouble of copying things around in order to achieve the full ext4 benefit.  I used this after mounting the partition:</p><p>find . -xdev -type f -print0 |\<br
/> while read -d $&#8221; FILE; do chattr +e &#8220;${FILE}&#8221;; done<br
/> find . -xdev -type d -print0 |\<br
/> while read -d $&#8221; DIR; do chattr +e &#8220;${DIR}&#8221;; done</p><p>Cheers!</p> ]]></content:encoded> </item> <item><title>By: treah blade</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-156047</link> <dc:creator>treah blade</dc:creator> <pubDate>Mon, 17 May 2010 02:07:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-156047</guid> <description>&quot;How do I boot from ext4 (/boot)?&quot;
The info in this section is incorrect please do not use. See the grub wiki for correct details on how to modify a grub2 boot files.</description> <content:encoded><![CDATA[<p>&#8220;How do I boot from ext4 (/boot)?&#8221;</p><p>The info in this section is incorrect please do not use. See the grub wiki for correct details on how to modify a grub2 boot files.</p> ]]></content:encoded> </item> <item><title>By: James Buergel</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-152702</link> <dc:creator>James Buergel</dc:creator> <pubDate>Mon, 04 Jan 2010 08:07:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-152702</guid> <description>Any more good web sites on ext 4 and or the new grub 2 ?</description> <content:encoded><![CDATA[<p>Any more good web sites on ext 4 and or the new grub 2 ?</p> ]]></content:encoded> </item> <item><title>By: Olivier</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-151909</link> <dc:creator>Olivier</dc:creator> <pubDate>Fri, 27 Nov 2009 20:56:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-151909</guid> <description>I don&#039;t understand why people are using ext3 or ext4 for /boot. Isn&#039;t ext2 good enough ? Why the journaling would be useful for this partition ?</description> <content:encoded><![CDATA[<p>I don&#8217;t understand why people are using ext3 or ext4 for /boot. Isn&#8217;t ext2 good enough ? Why the journaling would be useful for this partition ?</p> ]]></content:encoded> </item> <item><title>By: hooborg</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-151237</link> <dc:creator>hooborg</dc:creator> <pubDate>Mon, 26 Oct 2009 10:30:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-151237</guid> <description>Hi,
In Redhat and Fedora there is /etc/grub.conf or /boot/grub/grub.conf not /boot/grub.conf (in How do I boot from ext4 (/boot)?)</description> <content:encoded><![CDATA[<p>Hi,<br
/> In Redhat and Fedora there is /etc/grub.conf or /boot/grub/grub.conf not /boot/grub.conf (in How do I boot from ext4 (/boot)?)</p> ]]></content:encoded> </item> <item><title>By: brijesh</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-150593</link> <dc:creator>brijesh</dc:creator> <pubDate>Thu, 10 Sep 2009 13:56:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-150593</guid> <description>sir
i want to know depth of linux file system can you provide me detail matter..
i am very much thankfull to you.
your faithfully
brijesh kumar
allahabad (india)</description> <content:encoded><![CDATA[<p>sir<br
/> i want to know depth of linux file system can you provide me detail matter..<br
/> i am very much thankfull to you.<br
/> your faithfully<br
/> brijesh kumar<br
/> allahabad (india)</p> ]]></content:encoded> </item> <item><title>By: Joachim Otahal</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-148645</link> <dc:creator>Joachim Otahal</dc:creator> <pubDate>Thu, 21 May 2009 10:38:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-148645</guid> <description>If you &quot;convert&quot; from ext3 to ext4 only new created files are &quot;true&quot; ext4, the existing files are still ext3-like, so existing files are as slow as usual, and deleting those files is as slow as usual too.
Use fresh formatted ext4 or copy the files around (not move inside one partition!) will help.</description> <content:encoded><![CDATA[<p>If you &#8220;convert&#8221; from ext3 to ext4 only new created files are &#8220;true&#8221; ext4, the existing files are still ext3-like, so existing files are as slow as usual, and deleting those files is as slow as usual too.<br
/> Use fresh formatted ext4 or copy the files around (not move inside one partition!) will help.</p> ]]></content:encoded> </item> <item><title>By: Drew</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-148464</link> <dc:creator>Drew</dc:creator> <pubDate>Wed, 06 May 2009 23:17:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-148464</guid> <description>Oh yeah, when you reboot it seems to break a couple of desktop applets such as Quicklaunch (at least in my VM). And I did not notice an increase in boot times at all like so many have reported. Maybe it only applies to a fresh format ext4 w/ Ubuntu disc.</description> <content:encoded><![CDATA[<p>Oh yeah, when you reboot it seems to break a couple of desktop applets such as Quicklaunch (at least in my VM). And I did not notice an increase in boot times at all like so many have reported. Maybe it only applies to a fresh format ext4 w/ Ubuntu disc.</p> ]]></content:encoded> </item> <item><title>By: Joachim Otahal</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-148320</link> <dc:creator>Joachim Otahal</dc:creator> <pubDate>Sun, 26 Apr 2009 13:12:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-148320</guid> <description>In case of Debian lenny: the fs-type must be &quot;ext4dev&quot; in fstab, since debian does not yet consider ext4 stable enough to call it &quot;ext4&quot;, that will probably make it in sid.</description> <content:encoded><![CDATA[<p>In case of Debian lenny: the fs-type must be &#8220;ext4dev&#8221; in fstab, since debian does not yet consider ext4 stable enough to call it &#8220;ext4&#8243;, that will probably make it in sid.</p> ]]></content:encoded> </item> <item><title>By: Shanker Jadapa</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-147550</link> <dc:creator>Shanker Jadapa</dc:creator> <pubDate>Thu, 05 Mar 2009 10:54:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-147550</guid> <description>First time i heard about ext4 file system. thanks for the information</description> <content:encoded><![CDATA[<p>First time i heard about ext4 file system. thanks for the information</p> ]]></content:encoded> </item> <item><title>By: Prakash</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-147438</link> <dc:creator>Prakash</dc:creator> <pubDate>Wed, 25 Feb 2009 09:22:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-147438</guid> <description>Ext4 users are reporting few problems :
http://ubuntuforums.org/showpost.php?p=6796365&amp;postcount=251
and thread:
http://ubuntuforums.org/showthread.php?t=965879
--
Then ,we need e2fsprogs 1.41 or higher for ext4.kernel 2.6.28 for stable(eh?) ext4 unlike ext4dev.then converting a Linux root system from ext3 to ext4.Isn&#039;t it risky with the current status of kernel support?</description> <content:encoded><![CDATA[<p>Ext4 users are reporting few problems :<br
/> <a
href="http://ubuntuforums.org/showpost.php?p=6796365&#038;postcount=251" rel="nofollow">http://ubuntuforums.org/showpost.php?p=6796365&#038;postcount=251</a><br
/> and thread:<br
/> <a
href="http://ubuntuforums.org/showthread.php?t=965879" rel="nofollow">http://ubuntuforums.org/showthread.php?t=965879</a><br
/> &#8211;<br
/> Then ,we need e2fsprogs 1.41 or higher for ext4.kernel 2.6.28 for stable(eh?) ext4 unlike ext4dev.then converting a Linux root system from ext3 to ext4.Isn&#8217;t it risky with the current status of kernel support?</p> ]]></content:encoded> </item> <item><title>By: p-root</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146925</link> <dc:creator>p-root</dc:creator> <pubDate>Tue, 27 Jan 2009 03:57:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146925</guid> <description>Great knowledge base that i ever found........ :)</description> <content:encoded><![CDATA[<p>Great knowledge base that i ever found&#8230;&#8230;.. :)</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146872</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 24 Jan 2009 17:51:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146872</guid> <description>@ Peter /  Alec
BobCFC is correct about defragmentation. This new feature is called online fragmentation. Right now it is *NOT* available  in v2.6.28, but will be probably available in the next release. Quoting from ext4 wiki:
&lt;blockquote cite=&quot;ext4 wiki&quot;&gt;
While delayed allocation, extents and multiblock allocation help to reduce the fragmentation, with usage filesystems can still fragment. For example: You write three files in a directory and continually on the disk. Some day you need to update the file of the middle, but the updated file has grown a bit, so there&#039;s not enough room for it. You have no option but fragment the excess of data to another place of the disk, which will cause a seek, or allocate the updated file continually in another place, far from the other two files, resulting in seeks if an application needs to read all the files on a directory (say, a file manager doing thumbnails on a directory full of images). Besides, the filesystem can only care about certain types of fragmentation, it can&#039;t know, for example, that it must keep all the boot-related files contiguous, because it doesn&#039;t know which files are boot-related. To solve this issue, Ext4 will support online fragmentation, and there&#039;s a e4defrag tool which can defragment individual files or the whole filesystem.
&lt;blockquote /&gt; </description> <content:encoded><![CDATA[<p>@ Peter /  Alec</p><p> BobCFC is correct about defragmentation. This new feature is called online fragmentation. Right now it is *NOT* available  in v2.6.28, but will be probably available in the next release. Quoting from ext4 wiki:</p><blockquote
cite="ext4 wiki"><p> While delayed allocation, extents and multiblock allocation help to reduce the fragmentation, with usage filesystems can still fragment. For example: You write three files in a directory and continually on the disk. Some day you need to update the file of the middle, but the updated file has grown a bit, so there&#8217;s not enough room for it. You have no option but fragment the excess of data to another place of the disk, which will cause a seek, or allocate the updated file continually in another place, far from the other two files, resulting in seeks if an application needs to read all the files on a directory (say, a file manager doing thumbnails on a directory full of images). Besides, the filesystem can only care about certain types of fragmentation, it can&#8217;t know, for example, that it must keep all the boot-related files contiguous, because it doesn&#8217;t know which files are boot-related. To solve this issue, Ext4 will support online fragmentation, and there&#8217;s a e4defrag tool which can defragment individual files or the whole filesystem.</p><blockquote
/></blockquote> ]]></content:encoded> </item> <item><title>By: BobCFC</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146870</link> <dc:creator>BobCFC</dc:creator> <pubDate>Sat, 24 Jan 2009 17:38:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146870</guid> <description>Thanks I am using Ext4 with Jaunty Alpha 3 as my main system for / and /home partitions (using the Alternated CD) and it is so fast I don&#039;t even notice that I enabled encryption for the whole home directory.  Now I can convert my data partitions too!
BTW I think the defrag feature refers to on-the-fly defragging while in use.</description> <content:encoded><![CDATA[<p>Thanks I am using Ext4 with Jaunty Alpha 3 as my main system for / and /home partitions (using the Alternated CD) and it is so fast I don&#8217;t even notice that I enabled encryption for the whole home directory.  Now I can convert my data partitions too!</p><p>BTW I think the defrag feature refers to on-the-fly defragging while in use.</p> ]]></content:encoded> </item> <item><title>By: Alec</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146869</link> <dc:creator>Alec</dc:creator> <pubDate>Sat, 24 Jan 2009 15:11:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146869</guid> <description>@ Peter:
I agree. File system fragmentation???
I&#039;ve always enjoyed my linux clients and servers because I never had to schedule routine defragmentations like I have to do with Windows&#039; FAT and NTFS partitions...
I will have to look into this some and experement.
Thanks for the great post Vivek!</description> <content:encoded><![CDATA[<p>@ Peter:<br
/> I agree. File system fragmentation???<br
/> I&#8217;ve always enjoyed my linux clients and servers because I never had to schedule routine defragmentations like I have to do with Windows&#8217; FAT and NTFS partitions&#8230;<br
/> I will have to look into this some and experement.<br
/> Thanks for the great post Vivek!</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146864</link> <dc:creator>Peter</dc:creator> <pubDate>Sat, 24 Jan 2009 03:51:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146864</guid> <description>From your post it says a benefit of ext4 is Defragmentation support.  What is happening here ... I thought the benefit of linux file systems was that the files did not fragment ..........  Are we about to see a flood of Windows style disk defragmenters?</description> <content:encoded><![CDATA[<p>From your post it says a benefit of ext4 is Defragmentation support.  What is happening here &#8230; I thought the benefit of linux file systems was that the files did not fragment &#8230;&#8230;&#8230;.  Are we about to see a flood of Windows style disk defragmenters?</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146861</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 23 Jan 2009 22:08:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146861</guid> <description>@Daniel,
The post has been updated.
Appreciate your comment.</description> <content:encoded><![CDATA[<p>@Daniel,</p><p>The post has been updated.</p><p>Appreciate your comment.</p> ]]></content:encoded> </item> <item><title>By: Daniel</title><link>http://www.cyberciti.biz/tips/linux-convert-ext3-to-ext4-file-system.html#comment-146860</link> <dc:creator>Daniel</dc:creator> <pubDate>Fri, 23 Jan 2009 21:39:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4348#comment-146860</guid> <description>I just did this in Intrepid the other day, but took a different approach.  You may want to advise your readers that Grub won&#039;t boot to an ext4 partition.  Since I have a separate /boot, I just converted my / to ext4 with no problems.
This is really simple actually, just requires a couple reboots:
sudo nano /etc/fstab
-change the fs type from ext3 to ext4dev for you root partition, the default options for ext4dev have extents enabled, so you cannot switch back to ext3
sudo touch /forcefsck
-this runs a fsck on reboot
sudo reboot
-let it run through the fsck, and once the system is up reboot again, it will need one more reboot and fsck to correct the journal
mount
-should list your partition as using ext4dev as the fs type</description> <content:encoded><![CDATA[<p>I just did this in Intrepid the other day, but took a different approach.  You may want to advise your readers that Grub won&#8217;t boot to an ext4 partition.  Since I have a separate /boot, I just converted my / to ext4 with no problems.</p><p>This is really simple actually, just requires a couple reboots:<br
/> sudo nano /etc/fstab<br
/> -change the fs type from ext3 to ext4dev for you root partition, the default options for ext4dev have extents enabled, so you cannot switch back to ext3<br
/> sudo touch /forcefsck<br
/> -this runs a fsck on reboot<br
/> sudo reboot<br
/> -let it run through the fsck, and once the system is up reboot again, it will need one more reboot and fsck to correct the journal<br
/> mount<br
/> -should list your partition as using ext4dev as the fs type</p> ]]></content:encoded> </item> </channel> </rss>
