From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 19:52:13 2008 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 E27D6106564A for ; Wed, 2 Apr 2008 19:52:13 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 76DE18FC26 for ; Wed, 2 Apr 2008 19:52:12 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7c3b.q.ppp-pool.de [89.53.124.59]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id AEC0112883F; Wed, 2 Apr 2008 21:52:02 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) (Authenticated sender: relay@sz.vwsoft.com) by mail.vtec.ipme.de (Postfix) with ESMTP id DB86E3F439; Wed, 2 Apr 2008 21:52:17 +0200 (CEST) Message-ID: <47F3E3D8.4080308@vwsoft.com> Date: Wed, 02 Apr 2008 21:51:52 +0200 From: Volker User-Agent: Thunderbird 2.0.0.12 (X11/20080316) MIME-Version: 1.0 To: Norberto Meijome References: <20080401125534.D94491@fledge.watson.org> <20080402131511.2940ef2e@meijome.net> In-Reply-To: <20080402131511.2940ef2e@meijome.net> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1207770739.4151@hOme0I7inLdYWf9ZGXodmA X-MailScanner-ID: DB86E3F439.1252F X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-stable@freebsd.org Subject: Re: Re: Q&A on textdumps (fwd) 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: Wed, 02 Apr 2008 19:52:14 -0000 On 12/23/-58 20:59, Norberto Meijome wrote: > On Tue, 1 Apr 2008 12:57:06 +0100 (BST) > Robert Watson wrote: > >> (7) I'm in DDB and I suddenly realize I want to save the output, and I haven't >> configured textdumps. What do I do? >> >> As with normal dumps, you must previously have configured support for a dump >> partition. These days, that is done automatically whenever you have swap >> configured on the box, so unless you're in single-user mode or don't have swap >> configured, you should be able to do the following: > > > First of all, thanks Robert - I am definitely not capable to debug kernel > crash, but the fact there are tools out there to make things easier is > definitely welcome ! :) > > What happens if one encrypts the swap with GELI? Is this the same case as > "no swap defined" ? I've found back in 6.x that dumps wouldn't work properly > (I cant remember whether it would dump the data into the current encrypted > disk, or geli would kick in before savedump on reboot....) Since then I have a > separate partition for the dumps defined in rc.conf and dumps work ok . Norberto, while the system is experiencing a panic, it does not have any knowledge about filesystems and also does not know about the GELI swap space anymore. In this situation the geli encrypted swap will be overwritten by a dump (either minidump or the classical one). When the system boots up again, it will check $dumpdev for a dump and save it to $savecore before geli swap is brought up again. Or in short: geli backed swap should not do you any harm. Volker