Mark Knecht wrote:
> Is it the case that the journal is only used to repair the disk
> when fsck is run?

No, it's more like either/or.  With an unjournaled file system, it 
is fsck that checks everything and repairs inconsistencies.  With a 
journaled file system, the journal is used to complete the file 
operations that were interrupted by a systen crash, lockup, or 
power loss.  There shouldn't be any inconsistencies left.  If there 
are, the disk has made mistakes, either due to a one-time brown-out 
or impending failure.

Google for: how does a journaled filesystem work.  The first two 
hits should tell it all.

> Also, if these drives are turned off at night, then on again the
> next day, and mounted by the user, then where does fsck info from
> the daily check go? dmesg???

Nowhere.  You need to modify the init scripts if you want to save 
any of the info that they produce.  Or maybe there's some provision 
for this now in the scripts, I don't know, I've changed them.

Benno
-- 
gentoo-user@gentoo.org mailing list

Reply via email to