Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread m . roth
nate wrote: > m.r...@5-cent.us wrote: >> It was dumping large amounts of data into his home directory... which >> was >> NFS mounted from the server I needed to reboot. > > That's why I like HA clusters, our NFS cluster runs on top of > CentOS, and if we needed to reboot a node it would have minima

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread nate
m.r...@5-cent.us wrote: > It was dumping large amounts of data into his home directory... which was > NFS mounted from the server I needed to reboot. That's why I like HA clusters, our NFS cluster runs on top of CentOS, and if we needed to reboot a node it would have minimal impact, the other syst

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread m . roth
Timo wrote: >> From: >> Sent: 18.2.'10, 18:55 >> Timo wrote: >>> --- Original message --- From: Sent: 18.2.'10, 18:21 > On Thu, Feb 18, 2010 at 10:12 AM, Henry Ritzlmayr > wrote: >> nate wrote: > > >> a) I'm talking about >> work; > > ..my systems at work.

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Timo Schoeler
--- Original message --- > From: > To: centos@centos.org > Sent: 18.2.'10, 18:55 > > Timo wrote: >> --- Original message --- >>> From: >>> Sent: 18.2.'10, 18:21 On Thu, Feb 18, 2010 at 10:12 AM, Henry Ritzlmayr wrote: > nate wrote: > > >I don't both

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread m . roth
Timo wrote: > --- Original message --- >> From: >> Sent: 18.2.'10, 18:21 >>> On Thu, Feb 18, 2010 at 10:12 AM, Henry Ritzlmayr >>> wrote: nate wrote: >>> > >I don't bother changing the setting for local disks as it is >usually pretty quick to scan them. You must h

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Timo Schoeler
--- Original message --- > From: > Sent: 18.2.'10, 18:21 > >> On Thu, Feb 18, 2010 at 10:12 AM, Henry Ritzlmayr >> wrote: >>> nate wrote: >> > >>> > I don't bother changing the setting for local disks as it is >>> > usually pretty quick to scan them. You must have a pret

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread m . roth
> On Thu, Feb 18, 2010 at 10:12 AM, Henry Ritzlmayr > wrote: >> nate wrote: > > >> > I don't bother changing the setting for local disks as it is >> > usually pretty quick to scan them. You must have a pretty big >> > and/or slow file system for fsck to take 2+ hours. >> >

[CentOS] unattended fsck on reboot

2010-02-18 Thread R P Herrold
On Thu, 18 Feb 2010, Kai Schaetzl wrote: > Rudi Ahlers wrote on Thu, 18 Feb 2010 10:54:11 +0200: > >> The server booted up, ran fsck, then each VM, as it booted up ran fsck as >> well - which just slowed down the whole process since there's a 5 minute >> delay in starting each VM. > > Why would yo

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Robert Heller
At Thu, 18 Feb 2010 10:07:27 +0100 CentOS mailing list wrote: > > On 02/18/2010 09:54 AM, Rudi Ahlers wrote: > ... > > But, how does one get past this? I know we need to reboot from time to time, > > but more than often it's (preferably) not sooner than 6 - 10 months, so fsck > > will run. > >

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Kai Schaetzl
Rudi Ahlers wrote on Thu, 18 Feb 2010 10:54:11 +0200: > The server booted up, ran fsck, then each VM, as it booted up ran fsck as > well - which just slowed down the whole process since there's a 5 minute > delay in starting each VM. Why would you autostart a VM only every 5 minutes? Or did you m

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Mogens Kjaer
On 02/18/2010 09:54 AM, Rudi Ahlers wrote: ... > But, how does one get past this? I know we need to reboot from time to time, > but more than often it's (preferably) not sooner than 6 - 10 months, so fsck > will run. Turn off automatic fsck with "tune2fs -i 0 -c 0" and instead do a manual fsck (re

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Rudi Ahlers
On Thu, Feb 18, 2010 at 10:12 AM, Henry Ritzlmayr wrote: > > > > > > > I don't bother changing the setting for local disks as it is > > usually > > pretty quick to scan them. You must have a pretty big and/or > > slow > > file system for fsck to take 2+ hour

Re: [CentOS] unattended fsck on reboot

2010-02-18 Thread Henry Ritzlmayr
> > > I don't bother changing the setting for local disks as it is > usually > pretty quick to scan them. You must have a pretty big and/or > slow > file system for fsck to take 2+ hours. > > nate > > >

Re: [CentOS] unattended fsck on reboot

2010-02-17 Thread Rudi Ahlers
On Thu, Feb 18, 2010 at 2:13 AM, nate wrote: > Rudi Ahlers wrote: > > > Is it "absolutely" necessary to run this on servers? Especially since > they > > don't reboot often, but when they do it takes ages for fsck to finish - > > which on web servers causes extra unwanted downtime. > > > > Or is t

Re: [CentOS] unattended fsck on reboot

2010-02-17 Thread nate
Rudi Ahlers wrote: > Is it "absolutely" necessary to run this on servers? Especially since they > don't reboot often, but when they do it takes ages for fsck to finish - > which on web servers causes extra unwanted downtime. > > Or is there a way to run fsck with the server running? I know it's a

Re: [CentOS] unattended fsck on reboot

2010-02-17 Thread Rudi Ahlers
On Wed, Jan 6, 2010 at 9:17 PM, Robert Heller wrote: > > > There are two metrics used: number of times a FS is mounted and number > of days since last fsck/mount. For machines that don't get rebooted > often (eg servers) the 'number of times a FS is mounted' almost never > kicks in and the 'num

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Brian Mathis
On Wed, Jan 6, 2010 at 3:11 PM, Les Mikesell wrote: > On 1/6/2010 1:17 PM, Stephen Harris wrote: > On Wed, Jan 6, 2010 at 12:34 PM, nate   wrote: > No out of band management? >> My thoughts exactly.  All servers should have this these days, be it an integrated card or an IP-base

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Stephen Harris
On Wed, Jan 06, 2010 at 02:11:10PM -0600, Les Mikesell wrote: > On 1/6/2010 1:17 PM, Stephen Harris wrote: > > All hardware sucks, all software sucks. > > > > Your machine _will_ go wrong and you _will_ need remote console access and > > remote power ability. Especially if you have thousands of th

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Les Mikesell
On 1/6/2010 1:17 PM, Stephen Harris wrote: >>> On Wed, Jan 6, 2010 at 12:34 PM, nate wrote: No out of band management? > >>> My thoughts exactly. All servers should have this these days, be it >>> an integrated card or an IP-based KVM. > >> But, on the other hand they should never need it,

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Benjamin Donnachie
2010/1/6 Les Mikesell : > But, on the other hand they should never need it, except perhaps when > installing the OS if you don't use a full-auto method or clone disks. Reminds me of the quote, "In theory there is no difference between theory and practice. In practise, there is". Call me paranoid

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Thomas Harold
On 1/6/2010 2:36 PM, Alan McKay wrote: > On Wed, Jan 6, 2010 at 1:05 PM, Brian Mathis wrote: >>> No out of band management? > >> My thoughts exactly. All servers should have this these days, be it >> an integrated card or an IP-based KVM. > > Oh believe me, I want to get there. It's high on my

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Alan McKay
On Wed, Jan 6, 2010 at 1:05 PM, Brian Mathis wrote: >> No out of band management? > My thoughts exactly.  All servers should have this these days, be it > an integrated card or an IP-based KVM. Oh believe me, I want to get there. It's high on my list this year ... I'm still relatively new here

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Stephen Harris
On Wed, Jan 06, 2010 at 12:30:15PM -0600, Les Mikesell wrote: > On 1/6/2010 12:05 PM, Brian Mathis wrote: > > On Wed, Jan 6, 2010 at 12:34 PM, nate wrote: > >> No out of band management? > > My thoughts exactly. All servers should have this these days, be it > > an integrated card or an IP-based

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Robert Heller
At Wed, 06 Jan 2010 11:45:46 -0600 CentOS mailing list wrote: > > On 1/6/2010 11:19 AM, Alan McKay wrote: > > Hey folks, > > > > I searched the list archives and found this : > > > > echo "AUTOFSCK_TIMEOUT=5"> /etc/sysconfig/autofsck > > echo "AUTOFSCK_DEF_CHECK=yes">> /etc/sysconfig/autofsck

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Les Mikesell
On 1/6/2010 12:05 PM, Brian Mathis wrote: > On Wed, Jan 6, 2010 at 12:34 PM, nate wrote: >> Alan McKay wrote: >> >>> I want to do a reboot of a couple of systems during our maintenance >>> window and fsck them, but would rather try it from home first and not >>> go to the data center. Then of cou

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Brian Mathis
On Wed, Jan 6, 2010 at 12:34 PM, nate wrote: > Alan McKay wrote: > >> I want to do a reboot of a couple of systems during our maintenance >> window and fsck them, but would rather try it from home first and not >> go to the data center.  Then of course rush there like a madman if >> they don't com

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread m . roth
> Hey folks, > > I searched the list archives and found this : > > echo "AUTOFSCK_TIMEOUT=5" > /etc/sysconfig/autofsck > echo "AUTOFSCK_DEF_CHECK=yes" >> /etc/sysconfig/autofsck > > http://lists.centos.org/pipermail/centos/2006-November/029837.html > http://lists.centos.org/pipermail/centos/2009-Se

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread Les Mikesell
On 1/6/2010 11:19 AM, Alan McKay wrote: > Hey folks, > > I searched the list archives and found this : > > echo "AUTOFSCK_TIMEOUT=5"> /etc/sysconfig/autofsck > echo "AUTOFSCK_DEF_CHECK=yes">> /etc/sysconfig/autofsck > > http://lists.centos.org/pipermail/centos/2006-November/029837.html > http://l

Re: [CentOS] unattended fsck on reboot

2010-01-06 Thread nate
Alan McKay wrote: > I want to do a reboot of a couple of systems during our maintenance > window and fsck them, but would rather try it from home first and not > go to the data center. Then of course rush there like a madman if > they don't come back up :-) No out of band management? nate ___

[CentOS] unattended fsck on reboot

2010-01-06 Thread Alan McKay
Hey folks, I searched the list archives and found this : echo "AUTOFSCK_TIMEOUT=5" > /etc/sysconfig/autofsck echo "AUTOFSCK_DEF_CHECK=yes" >> /etc/sysconfig/autofsck http://lists.centos.org/pipermail/centos/2006-November/029837.html http://lists.centos.org/pipermail/centos/2009-September/thread.