From owner-freebsd-stable@FreeBSD.ORG Fri Oct 26 11:53:03 2007 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 3978016A417 for ; Fri, 26 Oct 2007 11:53:03 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [75.160.109.226]) by mx1.freebsd.org (Postfix) with ESMTP id DAD9113C491 for ; Fri, 26 Oct 2007 11:53:02 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id l9QBqsuw092428; Fri, 26 Oct 2007 04:53:01 -0700 (PDT) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id l9QBqs0D092427; Fri, 26 Oct 2007 04:52:54 -0700 (PDT) (envelope-from chris#@1command.com) Received: from hitme.hitometer.net (hitme.hitometer.net [75.160.109.235]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Fri, 26 Oct 2007 04:52:54 -0700 Message-ID: <20071026045254.x6urw30dsskw408g@webmail.1command.com> X-Priority: 3 (Normal) Date: Fri, 26 Oct 2007 04:52:54 -0700 From: "Chris H." To: "Andrey V. Elsukov" References: <20071026030636.e2yuttew8ososo48@webmail.1command.com> <4721C00C.1010905@yandex.ru> <20071026041106.hfzm32iy8s8o8kss@webmail.1command.com> <4721D25B.6060402@yandex.ru> In-Reply-To: <4721D25B.6060402@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 Cc: "\[FBSDS\]" Subject: Re: dumpdev question (probably stupid) 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, 26 Oct 2007 11:53:03 -0000 Quoting "Andrey V. Elsukov" : > Chris H. wrote: >> OK then. If I understand you correctly, I simply need to create: >> /var/crash (the default) > > Yes. Also you need a swap size > ram size. swap slice is already 3 times greater than memory. So I'm confident there's enough space. > >> add the following to /etc/rc.conf: >> dumpdev="AUTO" >> dumpdir="/var/crash" >> >> bounce the server and ensure that /etc/rc.d/dumpon is started >> immediately after the boot process has completed. >> Correct? > > if you don't want reboot your machine after changing rc.conf > you can run `/etc/rc.d/dumpon start`. It will mark your swap as > a dumpdev. At the boot time /etc/rc.d/dumpon will be started > automatically (if "dumpdev" is set). > After system crash the kernel memory dump will be saved to the dempdev > and after reboot dump will be extracted from the swap into dumpdir > by the savecore. > Yes, That occurred to me immediately after replying to you - dumpdev="AUTO" already ensures that. :) Thanks again for all your time and trouble. --Chris > -- > WBR, Andrey V. Elsukov > -- panic: kernel trap (ignored)