From owner-freebsd-fs@FreeBSD.ORG Wed Apr 10 15:42:36 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DACC6F88 for ; Wed, 10 Apr 2013 15:42:36 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 34E4E6E6 for ; Wed, 10 Apr 2013 15:42:35 +0000 (UTC) Received: (qmail 11535 invoked from network); 10 Apr 2013 08:35:53 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (cryx) by mail.h3q.com with CAMELLIA256-SHA encrypted SMTP; 10 Apr 2013 08:35:53 -0000 Message-ID: <51652468.6010806@h3q.com> Date: Wed, 10 Apr 2013 10:35:52 +0200 From: Philipp Wuensche User-Agent: Postbox 3.0.7 (Macintosh/20130119) MIME-Version: 1.0 To: Volodymyr Kostyrko Subject: Re: FreeBSD 9.1 and swap on zfs References: <9407C6ED-3B4C-4BA2-8B88-F8A998E0A847@free.de> <5162CBE8.5050104@madpilot.net> <51642E22.404@gmail.com> In-Reply-To: <51642E22.404@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@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: Wed, 10 Apr 2013 15:42:36 -0000 Volodymyr Kostyrko wrote: > 09.04.2013 15:15, Kai Gallasch: >>> My suggestion is: >>> >>> if you want stability and don't have specific disk layout problems >>> create a separate swap. >> >> >> I think I'll repartition and swap to a gmirror device then. >> This also has the advantage of being able to write kernel dumps to the >> swap (not possible with a ZVOL bases swap AFAIK) > > Be sure to use -b prefer for that as when dump is written it goes to the > first component. Man page is a bit outdated as we currently miss > /etc/rc.early. And I guess you should make sure to use -F so gmirror doesn't try to resync your invalid swap data after a crash! greetings, Philipp