Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2013 10:35:52 +0200
From:      Philipp Wuensche <cryx-freebsd@h3q.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: FreeBSD 9.1 and swap on zfs
Message-ID:  <51652468.6010806@h3q.com>
In-Reply-To: <51642E22.404@gmail.com>
References:  <9407C6ED-3B4C-4BA2-8B88-F8A998E0A847@free.de> <5162CBE8.5050104@madpilot.net> <AF006790-64C2-49AA-9ED2-32917F514565@free.de> <51642E22.404@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Volodymyr Kostyrko wrote:
> 09.04.2013 15:15, Kai Gallasch:
>>> My suggestion is:
>>>
>>> if you want stability and don't have specific disk layout problems
>>> create a separate swap.
>>
>>
>> I think I'll repartition and swap to a gmirror device then.
>> This also has the advantage of being able to write kernel dumps to the
>> swap (not possible with a ZVOL bases swap AFAIK)
> 
> Be sure to use -b prefer for that as when dump is written it goes to the
> first component. Man page is a bit outdated as we currently miss
> /etc/rc.early.

And I guess you should make sure to use -F so gmirror doesn't try to
resync your invalid swap data after a crash!

greetings,
Philipp



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