Automatic fsck
Paul S
paulatgm at gmail.com
Tue Aug 12 14:07:24 UTC 2008
I've been bitten bad by e2fsck where it's borked my system such that
I've had to reinstall. Since I don't want to be forced into that again,
I'm trying to disable it permanently and take my chances on losing a
file here or there.
However, I can't seem to shut it off.
So far, I've used tune2fs -c0 -i 0 to shut it off (interval and count
are disabled .. see confirmation below). That didn't work. Next I
used dpkg-divert to move e2fsck out of my path and rebuild the initramfs
with update-initramfs, but it still runs on boot (I can't figure out how
it got a copy of e2fsck). I have to use Esc to abort it. What's the
trick to disable it on hardy??
paul :~$ sudo tune2fs -l /dev/mapper/vgsda12-lvrootsda12
tune2fs 1.40.8 (13-Mar-2008)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: 8bbf135a-ecb3-4c7d-b9a6-d96fd953b657
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index
filetype needs_recovery sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean with errors
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 892928
Block count: 3568640
Reserved block count: 178432
Free blocks: 792705
Free inodes: 602839
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 871
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 256
Filesystem created: Sat Jul 19 19:29:03 2008
Last mount time: Sun Aug 10 14:41:31 2008
Last write time: Sun Aug 10 14:41:31 2008
Mount count: 29
Maximum mount count: -1
Last checked: Wed Jul 30 19:53:55 2008
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
First orphan inode: 869173
Default directory hash: tea
Directory Hash Seed: 74af1ac9-4826-4a95-a594-b99f15b0a883
Journal backup: inode blocks
paul :~$ dpkg-divert --list | grep e2fs
local diversion of /sbin/e2fsck to /diverted/sbin/e2fsck
More information about the Ubuntu-devel-discuss
mailing list