From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 12:39:05 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D76D106566B for ; Fri, 1 Apr 2011 12:39:05 +0000 (UTC) (envelope-from amarat@ksu.ru) Received: from mx3.ksu.ru (mx3.ksu.ru [83.69.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id 269B08FC0A for ; Fri, 1 Apr 2011 12:39:03 +0000 (UTC) Received: from unknown (HELO ruby.ksu.ru) ([178.213.240.4]) by ironport1.ksu.ru with ESMTP; 01 Apr 2011 16:08:44 +0400 X-Pass-Through: Kazan State University Network Received: from zealot.ksu.ru ([194.85.245.161]) by ksu.ru (8.13.4/8.13.4) with ESMTP id p31C31Om032516; Fri, 1 Apr 2011 12:03:01 GMT Received: from zealot.ksu.ru (localhost.lnet [127.0.0.1]) by zealot.ksu.ru (8.14.4/8.14.4) with ESMTP id p31C7PZs036892; Fri, 1 Apr 2011 16:07:25 +0400 (MSD) (envelope-from amarat@ksu.ru) Message-ID: <4D95BFFD.2040307@ksu.ru> Date: Fri, 01 Apr 2011 16:07:25 +0400 From: "Marat N.Afanasyev" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101215 Firefox/3.6.15 MIME-Version: 1.0 To: Marko Lerota References: <87d3l6p5xv.fsf@cosmos.claresco.hr> In-Reply-To: <87d3l6p5xv.fsf@cosmos.claresco.hr> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020908030707020208080209" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 12:39:05 -0000 This is a cryptographically signed message in MIME format. --------------ms020908030707020208080209 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Marko Lerota wrote: > Today one of my home servers lost power two times in a short > period of time. After that, the system just couldn't get up. > Background checks couldn't get started. The messages was how > / /tmp /var etc...had to much errors. And at the end, always > got this: "automatic reboot will start in 15sec". > > I went to single user mode, and ran FSCK manually. That solved > the problem. But the server was down for 2 hours. > > This is not the first time that I had to do this. Every now > and then I have seen this on BSD servers without UPS. > > My question is: > > Would it happen if I had ZFS as a file system on all partitions > including root? > > The setup was FreeBSD 8.1, with two disks in raid 1 with gmirror. > I'm afraid that in case of sequential power loss you will be faced with=20 broken filesystems regardless of filesystem you're using. and I suppose=20 that data on your servers costs, at least, ten times more than any UPS=20 that should safely shut down your server in case of black out. --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =ED=C1=D2=C1=D4 =E1=C6=C1=CE=C1=D3=D8=C5= =D7 --------------ms020908030707020208080209--