>From the Filesystems HOWTO (http://www.linuxdoc.org/HOWTO/Filesystems-HOWTO-1.html#ss1.12): <quote> File systems update their structural information (called metadata) by synchronous writes. Each metadata update may require many separate writes, and if the system crashes during the write sequence, metadata may be in inconsistent state. At the next boot the filesystem check utility (called fsck) must walk through the metadata structures, examining and repairing them. This operation takes a very very long time on large filesystems. And the disk may not contain sufficient information to correct the structure. This results in misplaced or removed files. A journaling file system uses a separate area called a log or journal. Before metadata changes are actually performed, they are logged to this separate area. The operation is then performed. If the system crashes during the operation, there is enough information in the log to "replay" the log record and complete the operation. This approach does not require a full scan of the file system, yielding very quick filesystem check time on large file systems, generally a few seconds for a multiple-gigabyte file system. In addition, because all information for the pending operation is saved, no removals or lost-and-found moves are required. </quote> On Wed, 15 Aug 2001 00:00, Robert MacLean wrote: > whats a Journalling filesystems? > > Robert MacLean > > ----- Original Message ----- > From: "Sridhar Dhanapalan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Robert MacLean" > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, August 14, 2001 3:58 PM > Subject: Re: [newbie] fsck > > > FSCK = File System ChecK > > > > It is the equivalent of Scandisc in Windos (i.e. it finds and > > corrects file > > > system errors), but it does a much more thorough job. It will > > usually kick in > > > automatically on your Ext2 partitions if you haven't unmounted them > > correctly > > > (e.g. not shut down correctly) and after a certain number of > > mount/unmount > > > operations (I forget how many). > > > > Journalling filesystems like ReiserFS (in Mandrake since 7.1), Ext3 > > (in > > > Cooker), and JFS (not in Mandrake) remove the need to FSCK, and so > > are far > > > more rugged then Ext2. > > > > On Tue, 14 Aug 2001 23:16, Robert MacLean wrote: > > > Hi > > > > > > I had a power problem and my machine reset, and I was prompted to > > > login and use fsck. My question is two fold. What is fsck (it > > seems > > > > dangerous from the man pages) and secondly what are the command > > line > > > > options I should use? > > > > > > Robert MacLean > > > > -- > > Sridhar Dhanapalan. > > "There are two major products that come from Berkeley: > > LSD and UNIX. We don't believe this to be a coincidence." > > -- Jeremy S. Anderson -- Sridhar Dhanapalan. "There are two major products that come from Berkeley: LSD and UNIX. We don't believe this to be a coincidence." -- Jeremy S. Anderson
Want to buy your Pack or Services from MandrakeSoft? Go to http://wwww.mandrakestore.com
