Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163570 - sys-fs/e2fsprogs-1.39 - mke2fs -j sets check count randomly
Summary: sys-fs/e2fsprogs-1.39 - mke2fs -j sets check count randomly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-24 10:47 UTC by Armin Mohring
Modified: 2007-01-24 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Mohring 2007-01-24 10:47:30 UTC
I have executed the following commands:
mke2fs -j /dev/sda8 (size 100MB): check count 25
mke2fs -j /dev/sda9 (size 40GB): check count 22
mke2fs -j /dev/sda10 (size 15GB): check count 25

Reproducible: Always

Steps to Reproduce:
Just execute mke2fs -j on partitions with different size.

Actual Results:  
different check count on partitions with different size (?).

Expected Results:  
check count should be set to a standart value (=30, as mentioned in man tune2fs).
Comment 1 Armin Mohring 2007-01-24 11:09:19 UTC
It is e2fsprogs version 1.39.
Comment 2 SpanKY gentoo-dev 2007-01-24 11:55:34 UTC
or, maybe, like the tune2fs manpage says, this behavior is on purpose

tune2fs(8):
              Staggering  the  mount-counts  at which filesystems are forcibly
              checked will avoid all filesystems being  checked  at  one  time
              when using journaled filesystems.

mke2fs.c:
    /*
     * Add "jitter" to the superblock's check interval so that we
     * don't check all the filesystems at the same time.  We use a
     * kludgy hack of using the UUID to derive a random jitter value.
     */