Swap on ZFS

Adam Vande More amvandemore at gmail.com
Sat Oct 2 15:52:23 UTC 2010


On Sat, Oct 2, 2010 at 4:30 AM, Anselm Strauss <amsibamsi at gmail.com> wrote:

> Hi
>
> I have a virtual server with only 512 MB of memory but still want to run
> ZFS on it.
> <snip>
> Has there been any fix or workaround for this? I guess it does not help
> when I use a swap file on ZFS instead of a separate zvol.
>

Make sure you are following this:
http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot  Please note swap is not a
ZVOL, it is a sepate partition.  You'd have the same problem with ZVOL.
Also use i386, that will save you a bit of memory.  Follow the ZFS tuning
guide.  Even if you follow all those things, I'm not sure you'll be able to
get it stable.  512MB is really tight.

-- 
Adam Vande More


More information about the freebsd-questions mailing list