FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have question regarding file system journaling,which is the difference between ext2 and ext3.
I think the difference is that when computer wants to be shut down and the file systems are unmounted
and the directory (mountpoint) wants to be transferred to the file system (storage device),if the fs system
type related to that mountpoint (directory) was ext3 either writes the complete changes to that storage device (fs)
or doesnot write at all but if the type of the fs related to that mountpoint was ext2 may sometimes write the changes
incomppletely,may umount the fs incompletely before shutting down.
thanks
Yes, journaling is as it's name tells you a logging capability of the filesystem. If at any time there is some error, that causes the filesystem to stop working (being unable to write the changes to the harddisk), the journal is still the thing that can write those changes when the filesystem is operational again, and thus makes the recovery of the partition. In the end, it's a good thing to have.
Thanks,
But can you tell me that when does writting on hard partition take place?
I believe that it only takes place when you try to umount the file system of that partition,so this file system journaling can only be useful when a problem occurs at umount time and this information can not be completely written on the hard partition,and then because the fstype is "ext3" when the next time the partition is mounted,the writting starts again from the point that it had ended.
Am I right?
Data read from and written to the disk is buffered so data is not written immediately. When you unmount a drive any data still in the buffer is written to disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.