Date: Fri, 26 Oct 2007 04:24:22 -0700 From: "Chris H." <chris#@1command.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: "\[FBSDS\]" <freebsd-stable@freebsd.org> Subject: Re: dumpdev question (probably stupid) Message-ID: <20071026042422.bonvedq1gcgck88s@webmail.1command.com> In-Reply-To: <20071026041106.hfzm32iy8s8o8kss@webmail.1command.com> References: <20071026030636.e2yuttew8ososo48@webmail.1command.com> <4721C00C.1010905@yandex.ru> <20071026041106.hfzm32iy8s8o8kss@webmail.1command.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Chris H." <chris#@1command.com>: > Quoting "Andrey V. Elsukov" <bu7cher@yandex.ru>: > >> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071026042422.bonvedq1gcgck88s>