On Thu, 12 Aug 2010, Benjamin Franz wrote:
To: CentOS mailing list centos@centos.org From: Benjamin Franz jfranz@freerun.com Subject: Re: [CentOS] NTFS is more resilient than ext3? Or is it hardware issue?
On 08/12/2010 01:55 AM, Fajar Priyanto wrote:
Hi guys, I don't mean to incite debate or something, just want to share experience and a little curiosity.
Back long time ago, we have an old file MS W2K (NTFS) server where due no admin was available to manage it, the server would get power off when the office closed, and auto power on again in the morning. That thing happened for years and it was fine ^^
Recently, I setup a Centos 5.5 file server with ext3 and got power blackout twice and I notice the filesystem got corrupted and also bad sectors.
Is it just pure random luck, software or hardware issue? What's your experience?
I would say 'luck'. No common system is normally 100% safe against 'pull the plug' shutdowns. Also, it matters how much disk I/O the system is doing. A system that is idle will tolerate 'pull the plug' better than one actually doing something. Additionally, powering up and powering down is the hardest thing you can do to the *hardware*. Servers should be let run 7/24 - they last longer. Finally, if power failures are taking the machine down, buy a UPS and connect the monitoring cable. I like APC UPSs and apcupsd for monitoring it and automatically shutting the system if needed.
I'm using an APC Back-UPS 650 on my home-built server. It does the job well. When there's a dip in the mains voltage the UPS switches in and keeps things running. I have configured apcupsd to gracefully shut the machine down after a 5 second power outage.
That APC UPS has been running for about 6 years now, still no problems with it.
I get postcards from APC occasionally, asking if I'd like to trade in my UPS for a newer one. Not now thankyou ;)
Kind Regards,
Keith Roberts
----------------------------------------------------------------- Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------