Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2007 14:23:08 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        "Chris H." <chris#@1command.com>
Cc:        "\[FBSDS\]" <freebsd-stable@freebsd.org>
Subject:   Re: dumpdev question (probably stupid)
Message-ID:  <4721C00C.1010905@yandex.ru>
In-Reply-To: <20071026030636.e2yuttew8ososo48@webmail.1command.com>
References:  <20071026030636.e2yuttew8ososo48@webmail.1command.com>

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



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