AwPhuch
Group: Members
Posts: 1404
Joined: April 2004 |
|
Posted: Mar. 02 2005,01:18 |
|
Please disreguard my last entry...apparently DSL and KNOPPIX doesnt support ext3, it MUST be compiled into the kernel...not as a module!
Quote | EXT3 Filesystem Upgrade
File systems such as ext3, reiserfs, etc are refered to as journalled file systems. Journaled filesystems are much quicker to recover after a machine crash than than thier non-journalled counterparts as it is not generally necessary to perform a complete "fsck" (file system check)which takes a consideruble amount of time on a large disk. The basic idea is that all updates to the file system are first written to a journal file before being written to the main file system. Each journalled filesystem has it supporters.
The one important thing to remember is that what ever file system you are using on your root partion must be compiled into the kernel; it cannot be a module! This is not 100% true since there are ways round it but you are asking for trouble if the kernel you are using can't read your root file system.
The ext3 file system is an extension of ext2, and it is easy to upgrade from ext2 to the ext3 (it is not possible to down grade explicitly, however, a partition using ext3 can be mounted and used as ext2 since ext3 is simply ext2 with a journal. Once this has been done however the journal is ruined since it is out of sync with the filesystem). First check that your kernel supports ext3 ("cat /proc/filesystems" will list the file systems supported by the kernel; and "lsmod" lists the modules loaded - if ext3 is one of them then do not upgrade your root (/) filesystem). Next run the command "tune2fs -j " to create the journal file. Then edit "/etc/fstab" and change the ext2 to ext3 for the device you have just changed. Finally try to "umount" and then "mount" that filesystem, if you can't "umount" then rebooting is easiest.
If you have installed everything under one partion then upgrading to ext3 is an all or nothing approach. If you have split the disk up into different partions (/, /usr, /home, ...) as I have then just pick one and try it out on that first. |
Brian AwPhuch
-------------- http://www.frappr.com/dsl <-- Where do you use DSL? http://www.smoothwall.org <-- Ultimate firewall for the world! http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats! ./S99LinuxRevolution start
|