From owner-freebsd-current@FreeBSD.ORG Tue Dec 22 17:50:21 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 4A93B1065676 for ; Tue, 22 Dec 2009 17:50:21 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 891398FC19 for ; Tue, 22 Dec 2009 17:50:20 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA10237; Tue, 22 Dec 2009 19:50:14 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B3106D6.1040208@icyb.net.ua> Date: Tue, 22 Dec 2009 19:50:14 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Scot Hetzel References: <200912210600.46044.mel.flynn+fbsd.current@mailing.thruhere.net> <790a9fff0912211047w6e0ee46co420869f25a7a016d@mail.gmail.com> <4B30D75D.6010708@icyb.net.ua> <790a9fff0912220819h1c454ed3u9191d80177a676ef@mail.gmail.com> In-Reply-To: <790a9fff0912220819h1c454ed3u9191d80177a676ef@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 17:50:21 -0000 on 22/12/2009 18:19 Scot Hetzel said the following: > 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 Where swapon line? :-) Okey, okey, it's good ti know that it works. > 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. Yeah, not nice. I think that in OpenSolaris they do something special to zvol when it is configured as a swap device, and then swapping code bypasses all the complex zfs paths. But I could very well be mistaken, I got this impression from a quick cursory look over the source code. -- Andriy Gapon