Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 14:37:14 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        Andriy Gapon <avg@FreeBSD.org>, cem@FreeBSD.org, FreeBSD Current <freebsd-current@FreeBSD.org>, freebsd-rc@FreeBSD.org
Subject:   Re: dumpdev in loader.conf vs rc.d/dumpon
Message-ID:  <20150924113714.GQ21849@zxy.spb.ru>
In-Reply-To: <5603DE11.7010008@yandex.ru>
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> <5603DE11.7010008@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 24, 2015 at 02:27:13PM +0300, Andrey V. Elsukov wrote:

> On 24.09.2015 14:18, 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.
> 
> It doesn't matter. When device will appear, it will be tasted by
> geom_dev and marked as device applicable for dumping.

How many dump device you can select?

> > dumpdev at boot time can be less size, sufficient for dumping at
> > booting, but insufficient at working time.
> 
> This also doesn't matter. Its size doesn't checked.

I am don't talk about checking size.
I can know about inssuficient size of device.

For example, host with 3TB of RAM, booted from small SSD.
This SSD have 16GB slice for dumping. This is sufficent if trouble
happen at boot time. This is insuuficient if trouble happen later,
after using all 3TB. rc.d script can be used for select iSCSI
destination, for dumping after succesefull boot.

> Did you read dumpon script and saw how it use dumpdev tunable?





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