Ext3-what are the advantages of ext3? why do you want to migrate from ext2 to ext3? four main reasons: availability, data integrity, speed, and easy transition. availability after an unclean system shutdown (unexpected power failure, system crash), each ext2 file system cannot be mounted until its consistency has been checked by the e2fsck program. the amount of time that the e2fsck program takes is determined primarily by the size of the file system, and for todays relatively large (many tens of gigabytes) file systems, this takes a long time. also, the more files you have on the file system, the longer the consistency check takes. file systems that are several hundreds of gigabytes in size may take an hour or more to check. this severely limits availability. by contrast, ext3 does not require a file system check, even after an unclean system shutdown, except for certain rare hardware failure cases (e.g. hard drive failures). this is because the data is written to disk in such a way that the file system is always consistent. the time to recover an ext3 file system after an unclean system shutdown does not depend on the size of the file system or the number of files; rather, it depends on the size of the journal used to maintain consistency. the default journal size takes about a second to recover (depending on the speed of the hardware). data integrity using the ext3 file system can provide stronger guarantees about data integrity in case of an unclean system shutdown. you choose the type and level of protection that your data receives. you can choose to keep the file system consistent, but allow for damage to data on the file system in the case of unclean system shutdown; this can give a modest speed up under some but not all circumstances. alternatively, you can choose to ensure that the data is consistent with the state of the file system; this means that you will never see garbage data in recently-written files after a crash. the safe choice, keeping the data consistent with the state of the file system, is the default. speed despite writing some data more than once, ext3 is often faster (higher throughput) than ext2 because ext3s journaling optimizes hard drive head motion. you can choose from three journaling modes to optimize speed, optionally choosing to trade off some data integrity. 1. one mode, data=writeback, limits the data integrity guarantees, allowing old data to show up in files after a crash, for a potential increase in speed under some circumstances. (this mode, which is the default journaling mode for most journaling file systems, essentially provides the more limited data integrity guarantees of the ext2 file system and merely avoids the long file system check at boot time.) 2. the second mode, data=ordered (the default mode), guarantees that the data is consistent with the file system; recently-written files will never show up with garbage contents after a crash. 3. the last mode, data=journal, requires a larger journal for reasonable speed in most cases and therefore takes longer to recover in case of unclean shutdown, but is sometimes faster for certain database operations. the default mode is recommended for general-purpose computing needs. to change the mode, add the data=something option to the mount options for that file system in the /etc/fstab file, as documented in the mount man page (man mount). easy transition it is easy to change from ext2 to ext3 and gain the benefits of a robust journaling file system, without reformatting. thats right, there is no need to do a long, tedious, and error-prone backup-reformat-restore operation in order to experience the advantages of ext3. there are two ways to perform the transition: 1. the red hat linux installation program offers to transition your file systems when you upgrade your system. all you have to do is select one checkbox per file system. the tune2fs program can add a journal to an existing ext2 file system. if the file system is already mounted while it is being transitioned, the journal will be visible as the file .journal in the root directory of the file system. if the file system is not mounted, the journal will be hidden and will not appear in the file system. just run tune2fs -j /dev/hda1 (or whatever device holds the file system you are transitioning) and change ext2 to ext3 on the matching lines in /etc/fstab. if you are transitioning your root file system, you will have to use an initrd to boot. run the mkinitrd program as described in the manual and make sure that your lilo or grub configuration loads the initrd. (if you fail to make that change, the system will still boot, but the root file system will be mounted as ext2 instead of ext3 - you can tell this by looking at the output of the command cat /proc/mounts.) more information on tune2fs can be found in the tune2fs man page (man tune2fs).