On 6/25/06, Benno Schulenberg <[EMAIL PROTECTED]> wrote:
Mark Knecht wrote:
> I seem to have file system problems on my external
> 1394 hard drives. I do not know if this is due to a recent move
> to 2.6.17-rt1, or bad maintenance on my part, or just bad luck.
Hopefully just bad luck (a failing drive, or a power hickup), but a
kernel bug can't be ruled out. As for bad maintenance... with any
data that you value, a regular disk inspection is needed: a maximum
mount count of something like 15 or an interval of two weeks.
OK, well these drives were never being tested. I've not been clear how
to best do that on an external drive that is removable like 1394. I've
set the test interval to 1 day for now. We'll see if it pops anything
up.
As for the data, like everyone, I value it, but it's primarily my CD
collection which has been ripped for easy playing. My thought was that
since the disk isn't written very often (when I get a new CD) and
things are mostly read-only, there shouldn't be many problems, but
that doesn't save me from a disk going bad.
Is it the case that the journal is only used to repair the disk when
fsck is run? I don't understand when ext3 would use that.
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???
> This evening, for no good reason since I don't know what I am
> doing, I decided to run fsck and let it look around and fix
> things if it wanted to. I wouldn't know how to do any better.
Use tune2fs to set the checking interval to 1 week. Or better yet,
to 1 day for now, to keep inspecting the disk everyday for a while.
Use 'tunefs -l ...' to see the current values.
Yes, 1 day for now on all partions of both 1394 drives.
> At the end of this I wondered if there is really any value to a
> journaled file system? Did it protect me? I cannot tell.
It won't protect you when the disk is going bad, nor when the kernel
has bugs. It only protects you from losing data during a sudden
power loss.
Benno
Thanks Benno!
Cheers,
Mark
--
gentoo-user@gentoo.org mailing list