Swap on ZFS Volume still panics?

Šimun Mikecin numisemis at gmail.com
Thu Sep 9 10:42:46 UTC 2010


On 8. ruj. 2010., at 20:07, Šimun Mikecin wrote:

> On 8. ruj. 2010., at 18:19, App Deb wrote:
> 
>> Reading the wiki guides they mention the official way to add swap volumes on
>> ZFS (set org.freebsd:swap=on etc..),
>> 
>> 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.
>> 
> 
> Last time I tried swap on ZFS (long time ago) I needed:
> 
> zfs set recordsize=4k tank/swap
> 
> Without it, kernel would panic as soon as swap was touched. I suppose this helped because it matches processor page size.
> 

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



More information about the freebsd-fs mailing list