From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Smith Subject: Re: Forcing fs checks on ext3 Date: Sun, 12 May 2002 22:48:13 +0100 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <20020512214813.GA942@cam.ac.uk> References: <20020512204732.2098.qmail@linux.ik5bcu.ampr.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Return-path: Content-Disposition: inline In-Reply-To: <20020512204732.2098.qmail@linux.ik5bcu.ampr.org> List-Id: To: linux-newbie@vger.kernel.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Hello I'm using RHL-7.2 with ext3 journalled file system,it works fine, > however I wonder issue an automated fs check let'say every 20 system's boots, > is there a file to set to accomplish this? ext{2,3} superblocks contain a field indicating how many times they can be safely mounted without fscking, and a maximum interval between fscks. To get at this data, go tune2fs -l /dev/hda1 replacing hda1 with the device which stores the filesystem. To set the maximal mount count, go tune2fs -c 20 /dev/hda1 whilst the maximum time between fscks is set with tune2fs -i