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

Tom H tomh0665 at
Mon Nov 30 17:10:01 UTC 2015

On Mon, Nov 30, 2015 at 5:03 PM, Robert Heller <heller at> wrote:
> At Mon, 30 Nov 2015 16:33:20 +0200 <ubuntu-users at> wrote:
>> On Sun, Nov 29, 2015 at 10:03 PM, Robert Heller <heller at> 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.
> Interesting set of defaults. Note that this is also a VM and if Ubuntu's
> installer is clever enough to detect that it is a VM (not necessarily
> impossible), it might be a VM-specific check, esp. if the VM's file system is
> implemented as a *file* on an otherwise checked file system.

Perhaps the installer detects a VM...

More information about the ubuntu-users mailing list