From: Mark Milhollan Sent: April 21, 2015 05:35> On Mon, 20 Apr 2015, Hugh E Cruickshank wrote: > > >CentOS 6 > > >From ''man fstab'' ... > > The sixth field, (fs_passno), is used by the fsck(8) > program to determine the order > in which filesystem checks are done at reboot time. > The root filesystem should be > specified with a fs_passno of 1, and other > filesystems should have a fs_passno of > 2. Filesystems within a drive will be checked > sequentially, but filesystems on > different drives will be checked at the same time to > utilize parallelism available > in the hardware. If the sixth field is not present or > zero, a value of zero is > returned and fsck will assume that the filesystem does > not need to be checked.Thanks but changing the order of execution or executing them in parallel does not help with executing them one per reboot. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com
On Tue, Apr 21, 2015 at 11:01 AM, Hugh E Cruickshank <hugh at forsoft.com> wrote:> > > Thanks but changing the order of execution or executing them in > parallel does not help with executing them one per reboot.Why do you care about running them at the same time when it doesn't take longer to run them all in parallel? Except I think the root filesystem normally runs first. So you might want to stagger it vs. everything else. And unless you reboot frequently you are probably hitting the time setting, not the mount count. -- Les Mikesell lesmikesell at gmail.com
On Tue, April 21, 2015 11:19 am, Les Mikesell wrote:> On Tue, Apr 21, 2015 at 11:01 AM, Hugh E Cruickshank <hugh at forsoft.com> > wrote: >> > >> Thanks but changing the order of execution or executing them in >> parallel does not help with executing them one per reboot. > > Why do you care about running them at the same time when it doesn't > take longer to run them all in parallel? Except I think the root > filesystem normally runs first. So you might want to stagger it vs. > everything else. > > And unless you reboot frequently you are probably hitting the time > setting, not the mount count. >How frequently does one reboot (CentOS) Linux? Well, my observation is: every 30-45 days there is either kernel or glibc update so you have to reboot. This makes it about 10 reboots a year, so you are pretty much close to hitting mount count as much as time from last fsck for ext[2,3,4]. As it was already mentioned: XFS is marvellous. I use it forever for huge filesystems on Linux boxes. I remember howto by Russel Ingram was titled "Linux + XFS HOWTO. Linux on Steroids"... Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
From: Les Mikesell Sent: April 21, 2015 09:19> > Why do you care about running them at the same time when it doesn't > take longer to run them all in parallel? Except I think the root > filesystem normally runs first. So you might want to stagger it vs. > everything else.I am trying to avoid running them at the same time in an effort to avoid 70 minute boot times (which is what happened on the weekend). I accept that fscks are required on a periodic basis and I am willing to reboot more often to achieve these but I would like to minimize downtime (during the reboot) where possible.> And unless you reboot frequently you are probably hitting the time > setting, not the mount count.This is in fact what transpired on the weekend and I would leave this in place as a protective measure. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com