<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Aug 11, 2012 at 11:30 PM, Michael Shiloh <span dir="ltr"><<a href="mailto:michaelshiloh1010@gmail.com" target="_blank">michaelshiloh1010@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On 08/11/2012 12:28 PM, Nadav Har'El wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Aug 11, 2012, Erez D wrote about "which filesystem":<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hello<br>
<br>
i have and external USB hard-drive size 2TB, mounted as ext4. (ubuntu 10.10<br>
amd64)<br>
every time there is a power failure. i need to do a manual fsck on this<br>
disk. and this takes around an hour ...<br>
</blockquote>
<br>
I have a 2 TB disk with ext3, and I don't have anything close to the 1 hour<br>
boots you report (even one minute looks excessive).<br>
<br>
Both ext3 and ext4 are journalling filesystems, meaning that after power<br>
failures, only a relatively small "journal" of the last modifications<br>
needs to be replayed, rather than going through the entire disk.<br>
<br>
Is it possible your filesystem for some reason has journalling disabled,<br>
or improperly configured? Try "tune2fs -l" on your filesystem and look<br>
for suspicious parameters. Look at "Filesystem features" and verify<br>
there is "has_journal". See that it doesn't force a full fsck every time<br>
("Maximum mount count" can very well be -1 and "check interval" 0).<br>
<br>
<br>
</blockquote>
<br></div>
Might also be the disk going bad - perhaps check with the S.M.A.R.T. utility smartmontools<div class="HOEnZb"><div class="h5"><br>
<br></div></div></blockquote><div><br>erez@h53:~$ sudo smartctl /dev/sdb3 --all<br>smartctl 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build)<br>Copyright (C) 2002-10 by Bruce Allen, <a href="http://smartmontools.sourceforge.net">http://smartmontools.sourceforge.net</a><br>
<br>Device: WD My Book 1110 Version: 2003<br>Serial number: WCAVY4118123<br>Device type: disk<br>Local Time is: Sun Aug 12 11:28:16 2012 IDT<br>Device does not support SMART<br><br>Error Counter logging not supported<br>
No self-tests have been logged<br>erez@h53:~$<br><br>:-( <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/<u></u>mailman/listinfo/linux-il</a><br>
</div></div></blockquote></div><br></div>