From owner-freebsd-fs@FreeBSD.ORG Fri Sep 10 07:39:31 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0988C1065694 for ; Fri, 10 Sep 2010 07:39:31 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id A7E798FC15 for ; Fri, 10 Sep 2010 07:39:30 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3C9EF45C8A; Fri, 10 Sep 2010 09:39:29 +0200 (CEST) Received: from localhost (pdawidek.whl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1680C45684; Fri, 10 Sep 2010 09:39:24 +0200 (CEST) Date: Fri, 10 Sep 2010 09:39:12 +0200 From: Pawel Jakub Dawidek To: App Deb Message-ID: <20100910073912.GC2007@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="96YOpH+ONegL0A3E" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: Swap on ZFS Volume still panics? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 07:39:31 -0000 --96YOpH+ONegL0A3E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 08, 2010 at 07:19:40PM +0300, App Deb wrote: > Reading the wiki guides they mention the official way to add swap volumes= on > ZFS (set org.freebsd:swap=3Don etc..), >=20 > So I thought that it should work now, But I just got a panic in 8.1-RELEA= SE > after a heavy memory situation that touched swap for the first time. Swap on ZVOL is still not recommended. Where did you find information that it now recommended? I can't find anything about swap on http://wiki.freebsd.org/ZFS and on http://wiki.freebsd.org/ZFSQuickStartGuide there is a note that it is not recommended. Let me know where it is advised and I'll remove it or add a note (if the documentation is mine). > It is a hassle to add gmirror volumes for swap on full zfs systems, is th= ere > any workaround for this, or any news when a fix is coming or if it is > coming? I've no plans to fix it, maybe with ZFSv28 it will be easier to fix, but this is really low priority. If you use full ZFS system the recommended layout is described here: http://blogs.freebsdish.org/pjd/2010/08/06/from-sysinstall-to-zfs-only-con= figuration/ > If the current code procudes guaranteed panics with zfs swap, I think that > every mention of swap on zfs should be removed from the semi-official wiki > guides. BTW. If this issue will be worked on in the future, it will be useful to actually see your panic, backtrace and other debug info. To be honest, I didn't expect it to panic, rather deadlock. Maybe panic is from deadlock resolver? Hard to say without any debug info. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --96YOpH+ONegL0A3E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyJ4J8ACgkQForvXbEpPzQPgACfWZ7X4E/Xz4uuGSW9NFc9H5w2 SaoAoMXMC+ctRy0S/p/Ui20bxGSVRU9H =17Pc -----END PGP SIGNATURE----- --96YOpH+ONegL0A3E--