From owner-freebsd-questions@FreeBSD.ORG Fri Jan 6 09:41:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56AE216A420 for ; Fri, 6 Jan 2006 09:41:09 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from ss.eunet.cz (ss.eunet.cz [193.85.228.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5196443D4C for ; Fri, 6 Jan 2006 09:41:07 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from localhost.i.cz (ss.eunet.cz [193.85.228.13]) by ss.eunet.cz (8.13.3/8.13.1) with ESMTP id k069f1u7091467 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 6 Jan 2006 10:41:01 +0100 (CET) (envelope-from mime@traveller.cz) From: Michal Mertl To: Nick Pavlica In-Reply-To: References: Content-Type: text/plain Date: Fri, 06 Jan 2006 10:41:00 +0100 Message-Id: <1136540461.830.3.camel@genius1.i.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Gmirror dump device does not exist? 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: Fri, 06 Jan 2006 09:41:09 -0000 Nick Pavlica wrote: > All, > I have just set up a FBSD6.0 server configured with gmirror/raid1 > using two SATA drives ad4 & ad6 according to these instructions: > > http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html > > Everything is functioning properly with the exception of a boot > warning that indicates that a dump device does not exist. I'm sure > that I just missed something simple during the setup procedure. Does > anyone have the quick fix for this? It is not possible to dump kernel to gmirror. The reason is that at the time, when the kernel is dumping core, it is usually in pretty bad state, kernel internals may be corrupted and so on. The dumping code is therefore written to be quite low level so that even wedged kernel can be dumped. The dumping code is part of hard disk controller's drivers. The gmirror is quite high-level device and geom itself needs working scheduler so there will probably never be a way to dump on gmirror provided swap. When the dumpon command is issued the check is performed whether the driver for the disk you want to dump on supports kernel core dumps. Michal