Is fsck obsolet for journaling FS? - Was: How do I Automount [snip]

Tom H tomh0665 at gmail.com
Mon Nov 30 14:33:20 UTC 2015


On Sun, Nov 29, 2015 at 10:03 PM, Robert Heller <heller at deepsoft.com> wrote:
>
> Actually, journaling file systems *do* require periodically fsck.  They just
> don't need to run fsck everytime there is a 'crash' reboot (i.e. someone yanks
> the power cord or presses the reset button or something like that).  Actually
> fsck is the program that handles journal processing when mounting an 'unclean'
> journaled file system, so yes fsck really is still used.

>From a clean install of a 16.04 VM where "/dev/sda1" is "/":

# tune2fs -l /dev/sda1 | grep -E 'Maximum|Check'
Maximum mount count:      -1
Check interval:           0 (<none>)
#

So the Ubuntu d-i installation sets an ext4 filesystem not to be
fsck'd after x number of mounts or y days/weeks/months by default.




More information about the ubuntu-users mailing list