which filesystem
Nadav Har'El
nyh at math.technion.ac.il
Sat Aug 11 22:28:16 IDT 2012
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).
--
Nadav Har'El | Saturday, Aug 11 2012, 24 Av 5772
nyh at math.technion.ac.il |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |This signature was intentionally left
http://nadav.harel.org.il |boring.
More information about the Linux-il
mailing list