From owner-freebsd-questions@FreeBSD.ORG Sat Oct 2 15:52:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CEF1106566B for ; Sat, 2 Oct 2010 15:52:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C24E78FC12 for ; Sat, 2 Oct 2010 15:52:22 +0000 (UTC) Received: by fxm9 with SMTP id 9so3343331fxm.13 for ; Sat, 02 Oct 2010 08:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=4VrEfMK2T93XTEAOq46AAtSDi40/ipnccN92GmipyVw=; b=xPWQHX9C0Bmh5QRtj1yCmK5TYPeWOBiupuqT7UKNhKnLgF8tvjN8Do89qFrxxuWTP9 HmYZCo4e+2Pbs86FQeok7nqVe6QRarJemEQAA77qZeyuQZdBPqQf6PbioIbBgT3V992n xUnisA6czjF0BltmtEUbS+ngQafJo1DnCHfME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X9oPPMHebD0rYbDt+Rg6flr9/qFovfjzHg8VMhL+DZOBFy3tZcB1SH4nulHWtnPkwc FTJt08NCPlnKK8IEH565ZVK+oFK4KqwkxWOeR7awOJwYsZWC3n39a/0lPrVfjTT6PGNn be+ELPsRsbP0fQnPJg0XUIbNPRPBnO95G0904= MIME-Version: 1.0 Received: by 10.223.125.70 with SMTP id x6mr6739126far.85.1286034741830; Sat, 02 Oct 2010 08:52:21 -0700 (PDT) Received: by 10.223.120.139 with HTTP; Sat, 2 Oct 2010 08:52:21 -0700 (PDT) In-Reply-To: <4CA6FBC2.8080908@gmail.com> References: <4CA6FBC2.8080908@gmail.com> Date: Sat, 2 Oct 2010 10:52:21 -0500 Message-ID: From: Adam Vande More To: Anselm Strauss Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Swap on ZFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 15:52:23 -0000 On Sat, Oct 2, 2010 at 4:30 AM, Anselm Strauss wrote: > Hi > > I have a virtual server with only 512 MB of memory but still want to run > ZFS on it. > > 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