From owner-freebsd-fs@FreeBSD.ORG Thu Sep 9 10:42:46 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 59F2910656E3 for ; Thu, 9 Sep 2010 10:42:46 +0000 (UTC) (envelope-from numisemis@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD6098FC08 for ; Thu, 9 Sep 2010 10:42:44 +0000 (UTC) Received: by eyx24 with SMTP id 24so833021eyx.13 for ; Thu, 09 Sep 2010 03:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=Nh47j8cJCFOM5edLZaU0+pyJpdcSoeEUsuHYYTBT8VM=; b=FoiHA7qZ4A7MPPqYMrl1xwIrA4wkoyN3QQz3oqQlcQsikPvYq900KH5rX7KSvlvD4V 5ji6tW1FOl95ZXFxB3HH0Bz/0m1kFGjaqbF8xVAGUYn1pYgPPFu2R2zoRhdAeV3JIxbb qGv7GUBejIP6D/y2W1F965Qaus99xjadW1as4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=bpslyA2pFv5osDJB3ETpjK3cx3w4xOcbr/unLbg83QTZQLamQyayvhTGq+oH4Z2Zg1 RLjEmcrmcnQaXrrSyFhamsmAt57UuCjlS1fy44L7SKp6xMW+vLITo+gVHsuVcoVVdpG0 eR53SXo1SSKtQiWpRur63K32WCIC32RzwvpC0= Received: by 10.213.35.6 with SMTP id n6mr55490ebd.0.1284028963706; Thu, 09 Sep 2010 03:42:43 -0700 (PDT) Received: from imac.logos.hr ([213.147.110.159]) by mx.google.com with ESMTPS id a48sm1778419eei.19.2010.09.09.03.42.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Sep 2010 03:42:42 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-2 Mime-Version: 1.0 (Apple Message framework v1081) From: =?iso-8859-2?Q?=A9imun_Mikecin?= In-Reply-To: Date: Thu, 9 Sep 2010 12:42:40 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: freebsd-fs X-Mailer: Apple Mail (2.1081) 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: Thu, 09 Sep 2010 10:42:46 -0000 On 8. ruj. 2010., at 20:07, =A9imun Mikecin wrote: > On 8. ruj. 2010., at 18:19, App Deb wrote: >=20 >> 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-RELEASE >> after a heavy memory situation that touched swap for the first time. >>=20 >=20 > Last time I tried swap on ZFS (long time ago) I needed: >=20 > zfs set recordsize=3D4k tank/swap >=20 > Without it, kernel would panic as soon as swap was touched. I suppose = this helped because it matches processor page size. >=20 I have to correct myself: property that I was setting was blocksize, not = recordsize. So it would be somethink like: zfs create -b 4k -V 2G tank/swap