Date: Fri, 10 Sep 2010 09:39:12 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: App Deb <appdebgr@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: Swap on ZFS Volume still panics? Message-ID: <20100910073912.GC2007@garage.freebsd.pl> In-Reply-To: <AANLkTin4DAY%2BWXOpckWJCs437BGg0mjAFzRv%2BiDEG-F1@mail.gmail.com> References: <AANLkTin4DAY%2BWXOpckWJCs437BGg0mjAFzRv%2BiDEG-F1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100910073912.GC2007>