On 08/11/2012 12:28 PM, Nadav Har'El wrote:
On Sat, Aug 11, 2012, Erez D wrote about "which filesystem":
hello

i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10
amd64)
every time there is a power failure. i need to do a manual fsck on this
disk. and this takes around an hour ...

I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour
boots you report (even one minute looks excessive).

Both ext3 and ext4 are journalling filesystems, meaning that after power
failures, only a relatively small "journal" of the last modifications
needs to be replayed, rather than going through the entire disk.

Is it possible your filesystem for some reason has journalling disabled,
or improperly configured? Try "tune2fs -l" on your filesystem and look
for suspicious parameters. Look at "Filesystem features" and verify
there is "has_journal". See that it doesn't force a full fsck every time
("Maximum mount count" can very well be -1 and "check interval" 0).



Might also be the disk going bad - perhaps check with the S.M.A.R.T. utility smartmontools

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to