LinHES Forums
http://forum.linhes.org/

fsck not running
http://forum.linhes.org/viewtopic.php?f=5&t=18240
Page 1 of 1

Author:  marc.aronson [ Wed Apr 30, 2008 5:58 pm ]
Post subject:  fsck not running

It looks like fsck is not running on my root file system when I reboot. Both the mount count and the "interval" check should have triggered an fsck. Any insights you may be able to provide on why this is happening would be greatly appreciated, thanks!

Marc

Here is an extract from /var/log/kern.log:
Code:
Apr 30 16:45:38 mythhd kernel: EXT2-fs warning: checktime reached, running e2fsck is recommended
Apr 30 16:45:38 mythhd kernel: VFS: Mounted root (ext2 filesystem).
Apr 30 16:45:38 mythhd kernel: EXT2-fs warning: checktime reached, running e2fsck is recommended
Apr 30 16:45:38 mythhd kernel: input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
Apr 30 16:45:38 mythhd kernel: (fs/jbd/recovery.c, 255): journal_recover: JBD: recovery, exit status 0, recovered transactions 4245221 to 4245410
Apr 30 16:45:38 mythhd kernel: (fs/jbd/recovery.c, 257): journal_recover: JBD: Replayed 3114 and revoked 4/9 blocks
Apr 30 16:45:38 mythhd kernel: kjournald starting.  Commit interval 5 seconds
Apr 30 16:45:38 mythhd kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
Apr 30 16:45:38 mythhd kernel: EXT3 FS on hda1, internal journal
Apr 30 16:45:38 mythhd kernel: EXT3-fs: recovery complete.
Apr 30 16:45:38 mythhd kernel: EXT3-fs: mounted filesystem with ordered data mode.


So they system feels it should run fsck, but I don't see any evidence of it running. Here is the superblock for that file system (output from tune2fs -l /dev/hda1):
Code:
tune2fs 1.40-WIP (14-Nov-2006)
Filesystem volume name:   Root
Last mounted on:          /
Filesystem UUID:          5f710f8c-1f63-419b-8d93-72d3e3c2f10c
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode filetype needs_recovery sparse_super large_file
Filesystem flags:         signed directory hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              500992
Block count:              1222940
Reserved block count:     61147
Free blocks:              387087
Free inodes:              347579
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      298
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         13184
Inode blocks per group:   412
Filesystem created:       Sun Sep  9 12:02:51 2007
Last mount time:          Wed Apr 30 16:45:26 2008
Last write time:          Wed Apr 30 16:45:26 2008
Mount count:              51
Maximum mount count:      30
Last checked:             Sun Apr 20 11:32:26 2008
Check interval:           777600 (1 week, 2 days)
Next check after:         Tue Apr 29 11:32:26 2008
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
First orphan inode:       277004
Default directory hash:   tea
Directory Hash Seed:      60f296ab-99e5-4b14-86df-015519ebe16b
Journal backup:           inode blocks

Author:  cliffsjunk [ Fri May 23, 2008 9:32 am ]
Post subject: 

You might look into this...

The sixth (space delimited) field on the line in /etc/fstab
must exist and be non-zero for that file system to be checked.

Cliff

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/