Swap on ZFS Volume still panics?

App Deb appdebgr at gmail.com
Thu Sep 9 13:47:33 UTC 2010


I just tried a 4k blocksize on the swap zfs volume. It still panics once it
touches swap.


2010/9/9 Šimun Mikecin <numisemis at gmail.com>

> 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
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>


More information about the freebsd-fs mailing list