From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 05:25:00 2012 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 4A2C71065672 for ; Wed, 1 Aug 2012 05:25:00 +0000 (UTC) (envelope-from Karli.Sjoberg@slu.se) Received: from Exchange1.ad.slu.se (exchange1.ad.slu.se [193.10.100.94]) by mx1.freebsd.org (Postfix) with ESMTP id BD6C58FC0C for ; Wed, 1 Aug 2012 05:24:59 +0000 (UTC) Received: from exmbx3.ad.slu.se ([193.10.100.93]) by Exchange1.ad.slu.se ([193.10.100.94]) with mapi; Wed, 1 Aug 2012 07:23:47 +0200 From: =?iso-8859-1?Q?Karli_Sj=F6berg?= To: Bob Friesenhahn Date: Wed, 1 Aug 2012 07:23:45 +0200 Thread-Topic: Hang when importing pool Thread-Index: Ac1vpdK+ByBdgswYQr2ytqlVOuu/kw== Message-ID: <17F43D74-958A-4AA7-9157-922397D80FC8@slu.se> References: In-Reply-To: Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: sv-SE, en-US MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-fs@freebsd.org" Subject: Re: Hang when importing pool 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: Wed, 01 Aug 2012 05:25:00 -0000 31 jul 2012 kl. 15.33 skrev Bob Friesenhahn: On Tue, 31 Jul 2012, Karli Sj=F6berg wrote: Hi, I=B4m really struggling with this. I have had a pool with imported filesystems from a Solaris system that had dedup activated. Then, when the time came to erase them, it just stalled. When rebooting, it stalled again at mounting filesystems, and since then, I=B4ve installed two USB drives to act as root pool with FreeBSD-9.0-RELEASE so that I could import the original pool in recovery, but it always stalls after a couple of hours. Looking at top, I could see that the 16GB RAM was maxed out, so I have heavily tuned down kmem, arc, etc: I think that you will need to find some way to temporarily add a dedicated L2ARC device (preferably an SSD or maybe iSCSI to a LUN on a machine with huge memory) or to find a machine with a lot more RAM. I already had a cache device added to the pool I wanted to import, but now = I understand it needed to be on the pool that was doing the actual importin= g, so I delete the one, big partition and split it into three. So the pool = I want to have imported has a 32G partition, which it has added as L2ARC. T= he pool that=B4s doing the importing has a 32G part added as swap, and the = remaining 160G added as L2ARC. From a Vertex 3 240G MLC I know performance = of the SSD isn=B4t an issue. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://w= ww.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se