From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ldosk-0002wh-Ml for garchives@archives.gentoo.org; Sun, 01 Mar 2009 16:51:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B021EE0316; Sun, 1 Mar 2009 16:51:13 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.80.33]) by pigeon.gentoo.org (Postfix) with ESMTP id 94502E0316 for ; Sun, 1 Mar 2009 16:51:13 +0000 (UTC) Received: from ajglap.localdomain (ool-4578da1c.dyn.optonline.net [69.120.218.28]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id n21GpDPV004646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Mar 2009 11:51:13 -0500 (EST) Received: by ajglap.localdomain (Postfix, from userid 1502) id ECF8719D922; Sun, 1 Mar 2009 11:51:07 -0500 (EST) From: Allan Gottlieb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: A little light relief from endless problems References: <200903011147.09719.peter@humphrey.ukfsn.org> Date: Sun, 01 Mar 2009 11:51:07 -0500 In-Reply-To: (Nikos Chantziaras's message of "Sun, 01 Mar 2009 16:27:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: 2a765a47-35ac-4927-880e-dbfa36fcdf0e X-Archives-Hash: 8cd7cd05ebefc55c321b955105342d89 At Sun, 01 Mar 2009 16:27:17 +0200 Nikos Chantziaras wrote: > Allan Gottlieb wrote: >> At Sun, 01 Mar 2009 13:57:30 +0200 Nikos Chantziaras 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