glfs/postlfs/filesystems/ext3.xml
Larry Lawrence 69bc513537 added MPlayer-0.90pre8
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@323 af4574ff-66df-0310-9fd7-8a98e5e911e0
2002-10-11 23:04:24 +00:00

41 lines
1.7 KiB
XML

<sect1 id="postlfs-filesystems-ext3">
<?dbhtml filename="ext3.html" dir="postlfs"?>
<title>Ext3</title>
<para>Ext3 is a journaling filesystem that is an extension to the ext2
filesystem. It is backward compatible with ext2 and the conversion from ext2
to ext3 is trivial.</para>
<para>You don't need to install anything to use ext3, all the required
packages are available with a bare LFS system.</para>
<para>When building the kernel, ensure that you have compiled in ext3
support. If you want your root partition to be ext3, then compile the ext3
support in the kernel, else you may compile it as a module. Recompile the
kernel if needed.</para>
<para>Edit your /etc/fstab. For each partition that you want to convert into
ext3, edit the entry so that it looks similar to the following line.</para>
<para><userinput>/dev/hdXX /mnt_point ext3 defaults 1 0</userinput></para>
<para>In the above line, replace /dev/hdXX by the partition (e.g. /dev/hda2),
/mnt_point by the mount point (e.g. /home). The 0 in the last field ensures
that the partition will not be checked for consistency during bootup by the
checkfs script. You may replace the ext3 fs type in the above by auto if you
want to ensure that the partition is mounted if you accidentally skip
enabling the ext3 support in the kernel.</para>
<para>For each partition that you have converted to ext3 in /etc/fstab,
enable the journal for the partition by running the following command.</para>
<para><userinput>tune2fs -j /dev/hdXX</userinput></para>
<para>Remount the concerned partitions, or simply reboot if you have
recompiled the kernel to enable ext3 support.</para>
<para>More information is available at <ulink
url="http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html"/></para>
</sect1>