From owner-freebsd-stable@FreeBSD.ORG Fri Oct 26 10:37:22 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 E61BA16A421 for ; Fri, 26 Oct 2007 10:37:22 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id AA6A113C4B2 for ; Fri, 26 Oct 2007 10:36:03 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:16871 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S612604AbXJZKXO (ORCPT ); Fri, 26 Oct 2007 14:23:14 +0400 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: bu7cher Message-ID: <4721C00C.1010905@yandex.ru> Date: Fri, 26 Oct 2007 14:23:08 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: "Chris H." References: <20071026030636.e2yuttew8ososo48@webmail.1command.com> In-Reply-To: <20071026030636.e2yuttew8ososo48@webmail.1command.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit 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 10:37:23 -0000 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 -- WBR, Andrey V. Elsukov