Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 10:19:49 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, freebsd-current@freebsd.org, krad <kraduk@googlemail.com>
Subject:   Re: Some notes on RootOnZFS article in wiki
Message-ID:  <790a9fff0912220819h1c454ed3u9191d80177a676ef@mail.gmail.com>
In-Reply-To: <4B30D75D.6010708@icyb.net.ua>
References:  <200912210600.46044.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <790a9fff0912211047w6e0ee46co420869f25a7a016d@mail.gmail.com> <d36406630912220302o5161dd50i45b69bd5003ad386@mail.gmail.com> <4B30D75D.6010708@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/22/09, Andriy Gapon <avg@icyb.net.ua> wrote:
> on 22/12/2009 13:02 krad said the following:
>
> >
>  > Are there still issues with using zvols for swap? If not you don't need a
>  > slice for swap and can get rid of gmirror entirely.
>
>
> Is this supported at all _on FreeBSD_?
>  Even, if yes, one drawback is that you wouldn't be able to use zvol swap as a dump
>  device.
>
FreeBSD does support zvols as swap:

zfs create -V 2gb zroot/swap
zfs set org.freebsd:swap=on zroot/swap
zfs set checksum=off zroot/swap

Another drawback to using zfs swap is that zfs requires RAM for it's
arc cache and if your system is low on RAM, the system may stop
responding even if you still have space in the zfs swap volume.

Scot



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