Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2006 10:41:00 +0100
From:      Michal Mertl <mime@traveller.cz>
To:        Nick Pavlica <linicks@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Gmirror dump device does not exist?
Message-ID:  <1136540461.830.3.camel@genius1.i.cz>
In-Reply-To: <dc9ba0440601051103i1276a5bfk71194f835c5a8968@mail.gmail.com>
References:  <dc9ba0440601051103i1276a5bfk71194f835c5a8968@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1136540461.830.3.camel>