From owner-freebsd-fs@FreeBSD.ORG Fri Nov 29 21:00:45 2013 Return-Path: Delivered-To: freebsd-fs@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 35F708EE for ; Fri, 29 Nov 2013 21:00:45 +0000 (UTC) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED5731F67 for ; Fri, 29 Nov 2013 21:00:44 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id k1so10799626oag.20 for ; Fri, 29 Nov 2013 13:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GJxs7JUM2ePejIjs8LC+8WVkZ+QuXb7toZQmm/kkMqg=; b=Vb3fjeU8vlTunaEiEIvKMYZigoDzgvp4s1bTB1yJ9PB40aeiBhkUts4KADyPS/a1D0 ZgW5PZfoIfE0NF4OP5cXT8/lr8LVkDQuBU2vL1OLTcTZS7CakOI7ZQ+MhvejoQLPBuLY iX3J9u5ER2D274G51khlE5ij6InNJUSa8Q3UmfOF/RfkTLfB1YkyBjEwT1X3EY7kkZXR X7LTH4piaWU4cj2avo6mepk1d1vxmQwB9XfaDhJmDyKxtzpVeJpA3yDkVJDHOant2nVn 46V7qcDMYI7ccUv0S+EwYmZySNrTVEiVU/eC5VkYbd0TNesgdwEFvWXkc2aPRWHKys9L 6usA== MIME-Version: 1.0 X-Received: by 10.182.70.5 with SMTP id i5mr44456273obu.8.1385758843013; Fri, 29 Nov 2013 13:00:43 -0800 (PST) Received: by 10.76.132.9 with HTTP; Fri, 29 Nov 2013 13:00:42 -0800 (PST) In-Reply-To: <1385711723411-5864713.post@n5.nabble.com> References: <1380880223590-5848720.post@n5.nabble.com> <524EEE40.5060208@gmail.com> <1381060830753-5849397.post@n5.nabble.com> <20131006123350.GJ3287@sludge.elizium.za.net> <1381683172518-5851539.post@n5.nabble.com> <1385711723411-5864713.post@n5.nabble.com> Date: Fri, 29 Nov 2013 13:00:42 -0800 Message-ID: Subject: Re: Questions re swap-on-zfs From: Freddie Cash To: Beeblebrox Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 21:00:45 -0000 On Thu, Nov 28, 2013 at 11:55 PM, Beeblebrox wrote: > @Ronald Klop: > I decided to give gconcat a go (since the coder is Pawel Dawidek from the > ZFS side). > Creating the concat device and mounting as swap etc is very easy: > # gconcat label -v swap /dev/zvol/tank0/swap /dev/ada0p1 > > However, I can not find any reference to setting priority or prefer > parameters on the devices being used by /dev/concat/swap. =E2=80=8Bgconcat works by filling the first device, and then filling the ne= xt device, and then filling the next device, and so on. Thus, the order the devices are listed in the gconcat command *is* the priority. The first device listed is filled first; then the next device listed; etc.=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com