Hello I have a newbie question, given a centos 5 installation, An 5 very large disk arrays ( 2.5Tbytes each ) - Is there a way to suspend or stop the fsck during the boot up? The system seems to pick the most inopportune time to decide to reach the check count limit... and with this many disks, a reboot takes several hours... which is an eternity when your boss is looking over your shoulders for data right now! A ^c worked under version 4 - but has no affect on version 5 Thanks in Advance Dan
On Thu, 9 Aug 2007, Dan Dansereau wrote:> Hello > I have a newbie question, given a centos 5 installation, > An 5 very large disk arrays ( 2.5Tbytes each ) - > > Is there a way to suspend or stop the fsck during the boot up? > > The system seems to pick the most inopportune time to decide to reach > the check count limit... and with this many disks, a reboot takes > several hours... which is an eternity when your boss is looking over > your shoulders for data right now!You might want to have look here: https://www.redhat.com/archives/ext3-users/2007-April/msg00019.html That thread describce how to disable the automatic fsck and also how to use lvm snapshots to run an fsck with everything up and running. Never tried it myself but I am sure Ted Tso knows what he is talking about. It is for sure on my to-do list. Regards, -- Tom Diehl tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
Dan Dansereau wrote:> Hello > I have a newbie question, given a centos 5 installation, > An 5 very large disk arrays ( 2.5Tbytes each ) - > > Is there a way to suspend or stop the fsck during the boot up? >To stop it in the future: # tune2fs -c 0 -i 0 /dev/sda1 # or whatever device See the manpage for tune2fs. This disables the max mount count and the time interval checking. Dan H
Dan Dansereau wrote:> Hello > I have a newbie question, given a centos 5 installation, > An 5 very large disk arrays ( 2.5Tbytes each ) - > > Is there a way to suspend or stop the fsck during the boot up? > > The system seems to pick the most inopportune time to decide to reach > the check count limit... and with this many disks, a reboot takes > several hours... which is an eternity when your boss is looking over > your shoulders for data right now! > > A ^c worked under version 4 - but has no affect on version 5You should setup your partitions to not run fsck on a regular basis ... and only when there is a problem. At least that is my recommendation. If the partitions are ext2 or ext3 you can do it like this: tune2fs -i0 -c0 <device> Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20070809/9080d6b6/attachment-0001.sig>