Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2010 12:42:40 +0200
From:      =?iso-8859-2?Q?=A9imun_Mikecin?= <numisemis@gmail.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Swap on ZFS Volume still panics?
Message-ID:  <A01D9C8A-F139-4D2B-B68F-B75B01626FC8@gmail.com>
In-Reply-To: <F51E728E-E1F4-4DD8-BD09-619915763B8A@gmail.com>
References:  <AANLkTin4DAY%2BWXOpckWJCs437BGg0mjAFzRv%2BiDEG-F1@mail.gmail.com> <F51E728E-E1F4-4DD8-BD09-619915763B8A@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8. ruj. 2010., at 20:07, =A9imun Mikecin wrote:

> On 8. ruj. 2010., at 18:19, App Deb wrote:
>=20
>> Reading the wiki guides they mention the official way to add swap =
volumes on
>> ZFS (set org.freebsd:swap=3Don etc..),
>>=20
>> So I thought that it should work now, But I just got a panic in =
8.1-RELEASE
>> after a heavy memory situation that touched swap for the first time.
>>=20
>=20
> Last time I tried swap on ZFS (long time ago) I needed:
>=20
> zfs set recordsize=3D4k tank/swap
>=20
> Without it, kernel would panic as soon as swap was touched. I suppose =
this helped because it matches processor page size.
>=20

I have to correct myself: property that I was setting was blocksize, not =
recordsize. So it would be somethink like:
zfs create -b 4k -V 2G tank/swap




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A01D9C8A-F139-4D2B-B68F-B75B01626FC8>