Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36127

e2fsck not being run when it should

$
0
0
I have used tune2fs with the -c and -i options to make sure my disk occasionally gets checked.
I noticed upon reboot that e2fsck should have run but it didn't:
Quote:

[ 25.649809] EXT4-fs (sda1): warning: checktime reached, running e2fsck is recommended
[ 25.651962] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
I know it didn't run because tune2fs -l <device> reported the last check as back in March

My fstab looks like it should:
Quote:

UUID=3508c392-ea01-4446-9fc4-a78149233d7b / ext4 defaults,noatime 0 1
UUID=1c4f7f09-9fad-49be-a661-7489f69da3f3 /boot ext4 defaults,noatime 0 2
UUID=ba8e4514-821f-448e-bee8-e413238f3d96 swap swap defaults 0 0
If I'm reading the man page for fstab right, that last value should be '1' for / and '2' for all the non-root partitions, which it is.

So is there some reason I'm missing for e2fsck not running? Running a status check on fsck-root, I get:

Quote:

systemctl status fsck-root
fsck-root.service - File System Check on Root Device
Loaded: loaded (/usr/lib/systemd/system/fsck-root.service; static)
Active: inactive (dead)
start condition failed at Fri, 03 May 2013 21:48:01 -0400; 35min ago
CGroup: name=systemd:/system/fsck-root.service
so I think the line I highlighted red is evidence of a systemctl problem?

Viewing all articles
Browse latest Browse all 36127

Trending Articles