which filesystem

which filesystem

Jonathan Ben Avraham yba at tkos.co.il
Sun Aug 12 09:50:16 IDT 2012


On Sat, 11 Aug 2012, Michael Shiloh wrote:

> Date: Sat, 11 Aug 2012 13:30:15 -0700
> From: Michael Shiloh <michaelshiloh1010 at gmail.com>
> To: linux-il at cs.huji.ac.il
> Subject: Re: which filesystem
> 
>
>
> 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

There are a lot of failure modalities that SMART can't see. Maybe just try 
copying the disk to a new disk and comparing the behavior.

  - yba


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

-- 
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
      - yba at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the Linux-il mailing list