Re: Some notes on RootOnZFS article in wiki

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Tue, 22 Dec 2009 10:19:49 -0600
On 12/22/09, Andriy Gapon <avg_at_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
Received on Tue Dec 22 2009 - 15:19:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC