From owner-freebsd-questions@FreeBSD.ORG Wed May 7 20:35:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 931C43AA for ; Wed, 7 May 2014 20:35:55 +0000 (UTC) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 68CF3B89 for ; Wed, 7 May 2014 20:35:54 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 3gP8hP6fRyz16K for ; Wed, 7 May 2014 16:35:49 -0400 (EDT) Date: Wed, 07 May 2014 16:35:49 -0400 From: Daniel Staal To: freebsd-questions@freebsd.org Subject: Re: Swap on ZFS Message-ID: In-Reply-To: <5369B8A3.7020403@my.hennepintech.edu> References: <53697D8B.2060906@gmail.com> <5369B4A1.40506@gmail.com> <5369B8A3.7020403@my.hennepintech.edu> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 20:35:55 -0000 --As of May 6, 2014 11:37:55 PM -0500, Andrew Berg is alleged to have said: > On 2014.05.06 23:20, Rolf Nielsen wrote: >> If I want to talk to my mother, I call my mother and talk to her. I >> don't call my sister and have her call my mother and relay everything. >> And for the same reason, I don't see why I should put a filesystem or >> swap on a volume on a filesystem. > By that logic, you should talk to her in person and not relay your voice > over the phone. > > zvols are far more flexible than partitions and have the added benefit > of COW (cheap snapshots and clones anyone?) and checksums > underneath. Instantly getting more space in your zpool by cutting > down unneeded swap would be quite nice. --As for the rest, it is mine. ZFS also adds resiliency, in most use cases. Yes, you can set up normal swap to use redundant disks, but I'm not sure how off the top of my head, while it's one of the base features of ZFS. I don't know what happens when a swap disk fails in use, but I suspect it isn't pretty. With ZFS you may not even have to shut the machine down to replace the disk. (And of course you can go the *other* way: Add swap for a particular situation, if needed. Even just for running a single job.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------