From owner-freebsd-stable@FreeBSD.ORG Fri Oct 26 11:24:32 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 F24D616A418 for ; Fri, 26 Oct 2007 11:24:32 +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 8662B13C465 for ; Fri, 26 Oct 2007 11:24:32 +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 l9QBOMLq089551; Fri, 26 Oct 2007 04:24:31 -0700 (PDT) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id l9QBOMbM089550; Fri, 26 Oct 2007 04:24:22 -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:24:22 -0700 Message-ID: <20071026042422.bonvedq1gcgck88s@webmail.1command.com> X-Priority: 3 (Normal) Date: Fri, 26 Oct 2007 04:24:22 -0700 From: "Chris H." To: "Andrey V. Elsukov" References: <20071026030636.e2yuttew8ososo48@webmail.1command.com> <4721C00C.1010905@yandex.ru> <20071026041106.hfzm32iy8s8o8kss@webmail.1command.com> In-Reply-To: <20071026041106.hfzm32iy8s8o8kss@webmail.1command.com> 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:24:33 -0000 Quoting "Chris H." : > Quoting "Andrey V. Elsukov" : > >> Chris H. wrote: >>> Given that the server that I need to create a dumpdev on has has a >>> slice dedicated to /var with *more* than adequate space to accommodate >>> the the resources needed for a dumpdev, as well as everything else in >>> /var. Is it enough to simply: >>> >>> # mkdir /var/crash >>> # chmod 700 /var/crash >>> >>> and set *dumpdev* in */etc/fstab* as such?: >> >> No. For the dumpdev in most cases you can use your swap. >> Also you will need a dumpdir - directory where crash will be saved by >> the savecore(8). >> Try this: >> # cat >> /etc/rc.conf >> dumpdev="AUTO" >> dumpdir="/var/crash" >> ^D >> # /etc/rc.d/dumpon start >> > > WOW! Thank you Andrey, for the prompt and informative reply! > It's just like me sometimes, to make things more difficult than > they're intended. :-P > > OK then. If I understand you correctly, I simply need to create: > /var/crash (the default) > > then correctly set perms: > chmod 700 /var/crash > > 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? OOPS! /etc/rc.d/dumpon is moot, given that dumpdev="AUTO" is already set in /etc/rc.conf. Sorry, I should have waited 30 seconds longer before replying. Thanks again. --Chris > > Thanks again! > > --Chris > > > -- > panic: kernel trap (ignored) > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- panic: kernel trap (ignored)