From owner-freebsd-current@FreeBSD.ORG Tue Dec 22 16:19:52 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8FC1065670 for ; Tue, 22 Dec 2009 16:19:52 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id E5EAA8FC16 for ; Tue, 22 Dec 2009 16:19:51 +0000 (UTC) Received: by iwn36 with SMTP id 36so4370566iwn.3 for ; Tue, 22 Dec 2009 08:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=MSsriuVXdLSCc/R6wfnIBqtJXKP+sAXrjCoPVwcFlrA=; b=gjaZ5YlelAPVWMHtnQNjx8adRZtyaOwH7u7ZqOeItQJfLdYg56l9Tm/KVgLkU1I65x d1XlhLSh+B1mhG+es5Xu48tAU0uexZHBbAF249u06HxBWYu0umKVNCjHgcUvSm2UMykj ByZ5VHz/KaLTQxpgDP82Nqpyx3sm9kaBTg3Ek= 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=uB0+vWvigj5wryUDmnTSqf45mMUr26XIRIGw4d9QIT4sJVHJb222Of7EzKXnSXqfAE iQmwYpjwFHI223wba0A7I0XNpYmCEVXcDkJQHQkfImslV1qoJhuLvgMhV74ygBxqzuac 1jjOv+eD/pMBdnrz0OFHbiek3vWBFdqAIEnr8= MIME-Version: 1.0 Received: by 10.231.147.210 with SMTP id m18mr606414ibv.48.1261498789905; Tue, 22 Dec 2009 08:19:49 -0800 (PST) In-Reply-To: <4B30D75D.6010708@icyb.net.ua> References: <200912210600.46044.mel.flynn+fbsd.current@mailing.thruhere.net> <790a9fff0912211047w6e0ee46co420869f25a7a016d@mail.gmail.com> <4B30D75D.6010708@icyb.net.ua> Date: Tue, 22 Dec 2009 10:19:49 -0600 Message-ID: <790a9fff0912220819h1c454ed3u9191d80177a676ef@mail.gmail.com> From: Scot Hetzel To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: Mel Flynn , freebsd-current@freebsd.org, krad Subject: Re: Some notes on RootOnZFS article in wiki X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 16:19:52 -0000 On 12/22/09, Andriy Gapon wrote: > on 22/12/2009 13:02 krad said the following: > > > > > Are there still issues with using zvols for swap? If not you don't need a > > slice for swap and can get rid of gmirror entirely. > > > Is this supported at all _on FreeBSD_? > Even, if yes, one drawback is that you wouldn't be able to use zvol swap as a dump > device. > FreeBSD does support zvols as swap: zfs create -V 2gb zroot/swap zfs set org.freebsd:swap=on zroot/swap zfs set checksum=off zroot/swap Another drawback to using zfs swap is that zfs requires RAM for it's arc cache and if your system is low on RAM, the system may stop responding even if you still have space in the zfs swap volume. Scot