From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 15:04:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D509E1065676 for ; Thu, 11 Sep 2008 15:04:17 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC158FC15 for ; Thu, 11 Sep 2008 15:04:17 +0000 (UTC) (envelope-from mike@urgle.com) Received: from cheddar.urgle.com ([80.177.40.53]) by anchor-post-34.mail.demon.net with esmtp (Exim 4.67) id 1KdnY0-000HVn-E1; Thu, 11 Sep 2008 14:53:28 +0000 Received: from mike by cheddar.urgle.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KdnXw-0003P1-VC; Thu, 11 Sep 2008 14:53:24 +0000 Date: Thu, 11 Sep 2008 15:53:24 +0100 From: Mike Bristow To: Michel Talon Message-ID: <20080911145324.GA12995@cheddar.urgle.com> References: <20080911141209.GA21301@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080911141209.GA21301@lpthe.jussieu.fr> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: File system corruption upon reboot with gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 15:04:17 -0000 On Thu, Sep 11, 2008 at 04:12:09PM +0200, Michel Talon wrote: > Gunther Mayer wrote: > > > > Don't use "reboot", use shutdown -r now. I also had the same problem > > > once > > > (had to get physical access to the box to fix it) and it was because > > > of > > > the "reboot". > > > > > > > Thanks. I guess I'll use shutdown -r now then in future. If it still > > happens then I'll post again... > > What's this stuff? shutdown -r is implemented using reboot. Only when you give it -o. Otherwise it sends a signal to init, and init manages the shutdown. The code you quote is only run if -o is given. -- Shenanigans! Shenanigans! Best of 3! -- Flash