From owner-freebsd-fs@FreeBSD.ORG Mon Oct 7 15:39:32 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E6A1FFB9 for ; Mon, 7 Oct 2013 15:39:32 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from cpsmtpb-ews08.kpnxchange.com (cpsmtpb-ews08.kpnxchange.com [213.75.39.13]) by mx1.freebsd.org (Postfix) with ESMTP id 833122BEE for ; Mon, 7 Oct 2013 15:39:31 +0000 (UTC) Received: from cpsps-ews01.kpnxchange.com ([10.94.84.168]) by cpsmtpb-ews08.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 7 Oct 2013 17:38:21 +0200 Received: from CPSMTPM-TLF104.kpnxchange.com ([195.121.3.7]) by cpsps-ews01.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 7 Oct 2013 17:38:21 +0200 Received: from sjakie.klop.ws ([212.182.167.131]) by CPSMTPM-TLF104.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 7 Oct 2013 17:38:21 +0200 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 872896F3 for ; Mon, 7 Oct 2013 17:38:20 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org Subject: Re: Questions re swap-on-zfs References: <1380880223590-5848720.post@n5.nabble.com> <524EEE40.5060208@gmail.com> <1381060830753-5849397.post@n5.nabble.com> <20131006123350.GJ3287@sludge.elizium.za.net> Date: Mon, 07 Oct 2013 17:38:20 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20131006123350.GJ3287@sludge.elizium.za.net> User-Agent: Opera Mail/12.16 (FreeBSD) X-OriginalArrivalTime: 07 Oct 2013 15:38:22.0091 (UTC) FILETIME=[41158DB0:01CEC373] X-RcptDomain: freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 15:39:33 -0000 On Sun, 06 Oct 2013 14:33:50 +0200, Hugo Lombard wrote: > On Sun, Oct 06, 2013 at 05:00:30AM -0700, Beeblebrox wrote: >> >> For #2, I have seen "pri= for fstab settings in linux >> how-to's. >> Does pri= not work in FreeBSD, or does it not work for ZFS? I mean, why >> "nope"? >> > > swapon(8), first paragraph: > > The swapon, swapoff and swapctl utilities are used to control swap > devices in the system. At boot time all swap entries in /etc/fstab are > added automatically when the system goes multi-user. Swap devices use > a > fixed interleave; the maximum number of devices is specified by the > ker- > nel configuration option NSWAPDEV, which is typically set to 4. There > is > no priority mechanism. > ^^^^^^^^ > ^^^^^^^^^^^^^^^^^^^^^^ > You could use ccd(4) to concatenate two disks and use that as swap. That would give the functionality of your 'prio' option. Ronald.