From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: A little light relief from endless problems
Date: Sun, 01 Mar 2009 11:51:07 -0500 [thread overview]
Message-ID: <yu9r61h6vb8.fsf@nyu.edu> (raw)
In-Reply-To: <goe5vv$mfh$1@ger.gmane.org> (Nikos Chantziaras's message of "Sun, 01 Mar 2009 16:27:17 +0200")
At Sun, 01 Mar 2009 16:27:17 +0200 Nikos Chantziaras <realnc@arcor.de> wrote:
> Allan Gottlieb wrote:
>> At Sun, 01 Mar 2009 13:57:30 +0200 Nikos Chantziaras <realnc@arcor.de> wrote:
>>
>>> Peter Humphrey wrote:
>>>> As it's Sunday, here's an odd little thing.
>>>>
>>>> Not long ago, while booting this machine, four ext3 partitions
>>>> needed checks on remount count reaching zero. They had been set to
>>>> 23, 24, 25 and 26 mounts. (I didn't choose the numbers; they were
>>>> allocated at the time I was creating the file system.)
>>>>
>>>> Now, this box does get rebooted, but hardly 23 x 24 x 25 x 26 =
>>>> 358,800 times all told. At, say, two reboots per day, that would
>>>> take rather a long time: a little under 500 years if my arithmetic
>>>> is working.
>>> I think you're confused. 23 means a check each 23 mounts. With 2
>>> mounts per day, that's a check every 12 days for the first and second
>>> disk.
>>
>> I think the point is that 23, 24, 25, 26 are relatively prime so that,
>> if N is initially zero, it takes 23x24x25x26 increments initially for (N
>> mod 23), ..., (N mod 26) to all again be zero.
>
> Why would it matter if they're all zero or not?
When they are all zero they fsck is triggered. So it was not surprising
that all the fsck's occurred. What was surprising is that they all
triggered at the same reboot.
allan
next prev parent reply other threads:[~2009-03-01 16:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-01 11:47 [gentoo-user] A little light relief from endless problems Peter Humphrey
2009-03-01 11:57 ` [gentoo-user] " Nikos Chantziaras
2009-03-01 14:17 ` Allan Gottlieb
2009-03-01 14:27 ` Nikos Chantziaras
2009-03-01 16:51 ` Allan Gottlieb [this message]
2009-03-01 17:14 ` Nikos Chantziaras
2009-03-01 16:49 ` [gentoo-user] " KH
2009-03-01 19:03 ` Allan Gottlieb
2009-03-02 7:09 ` Momesso Andrea
2009-03-02 10:52 ` Peter Humphrey
2009-03-02 11:41 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yu9r61h6vb8.fsf@nyu.edu \
--to=gottlieb@nyu.edu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox