Date: Fri, 25 Sep 2015 00:11:51 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: "Andrey V. Elsukov" <bu7cher@yandex.ru>, FreeBSD Current <freebsd-current@FreeBSD.org>, freebsd-rc@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org>, cem@FreeBSD.org Subject: Re: dumpdev in loader.conf vs rc.d/dumpon Message-ID: <20150924211151.GT21849@zxy.spb.ru> In-Reply-To: <20150924205800.GA1475@garage.freebsd.pl> References: <5602B922.20703@FreeBSD.org> <CAG6CVpVvStV1pUi8WEBS0T5PaHxFk_HxGi8ch-LXU_DiheyTGw@mail.gmail.com> <5602CDBC.7080906@FreeBSD.org> <CAG6CVpXfBj_-cLj-8EMuAzgk6Ktmh_46e6zBBkZHMBxYW7=Cqg@mail.gmail.com> <5602DA17.7060501@FreeBSD.org> <5603B415.2090405@yandex.ru> <20150924111850.GA3158@zxy.spb.ru> <20150924205800.GA1475@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 24, 2015 at 10:58:00PM +0200, Pawel Jakub Dawidek wrote: > On Thu, Sep 24, 2015 at 02:18:50PM +0300, Slawa Olhovchenkov wrote: > > On Thu, Sep 24, 2015 at 11:28:05AM +0300, Andrey V. Elsukov wrote: > > > > > On 23.09.2015 19:57, Andriy Gapon wrote: > > > > I do not have a strong opinion. Either option, rc.d/dumpon change or geom_dev > > > > change, is fine with me. > > > > > > I added the ability to set dumpdev via loader. But I wasn't aware that > > > it was used in rc.d script. > > > > > > If you have set dumpdev kenv, it will be already enabled in the time > > > when rc.d/dumpon will be run. So, I think it is useless to try to > > > enable dumpdev again. I prefer remove this old code from rc.d script. > > > > rc.d script can redirect dump to device, not available at boot time, > > iSCSI disk, for examle. > > No. Dump device is very special. It runs in an environment when kernel > already paniced, there are no interrupt, so there is no networking. > Storage controllers have special methods to handle dumping kernel memory > - it doesn't go through GEOM, it cannot go through GEOM as the scheduler > doesn't work too. Can be ZFS VOL act as dump device?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150924211151.GT21849>