From owner-freebsd-fs@FreeBSD.ORG Thu Jun 6 21:52:47 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C8EAD482 for ; Thu, 6 Jun 2013 21:52:47 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx1.freebsd.org (Postfix) with ESMTP id 8879F178C for ; Thu, 6 Jun 2013 21:52:47 +0000 (UTC) Received: from mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.133]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id C2C4F41C061; Thu, 6 Jun 2013 23:52:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter3-d.gandi.net (mfilter3-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id xZPO2oAc-Xte; Thu, 6 Jun 2013 23:52:28 +0200 (CEST) X-Originating-IP: 67.180.84.87 Received: from jdc.koitsu.org (c-67-180-84-87.hsd1.ca.comcast.net [67.180.84.87]) (Authenticated sender: jdc@koitsu.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 0AE7F41C05D; Thu, 6 Jun 2013 23:52:26 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id A4DF373A1C; Thu, 6 Jun 2013 14:52:24 -0700 (PDT) Date: Thu, 6 Jun 2013 14:52:24 -0700 From: Jeremy Chadwick To: Michael Dexter Subject: Re: ZFS panic on import under VMware Message-ID: <20130606215224.GA44910@icarus.home.lan> References: <51B0FADB.10302@callfortesting.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51B0FADB.10302@callfortesting.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Thu, 06 Jun 2013 21:52:47 -0000 On Thu, Jun 06, 2013 at 02:10:51PM -0700, Michael Dexter wrote: > Hello all, > > I have encountered a FreeNAS under VMware system that gives "ONLINE" > status for a pool with 'zfs import' but panics when a -f import is > done under FreeNAS 8.3 x64, FreeBSD 10 and Solaris 11 live DVD. The > host filesystem passes all checks. > > The panic reports: > > Stopped at traverse_prefetch_metadata+0x44: movq 0x50(%rax),%rcx > > I have posted screen shots of the import, panic and backtrace output: > > http://cft.lv/zfs/2013-07-06/ > > Any suggestions? 1. On what OS (version, etc.) was the ZFS pool originally created? 2. Was the pool originally created with compression or dedup enabled? (Answers to both of these questions is extremely important) 3. How much memory are you allocating to the VMware instance? (This is in partial relation to question #2) 4. On what OS (version, etc.) are the panic/backtrace screenshots from? It looks to me like FreeBSD 10.x. 5. Is there a reason you didn't try FreeBSD 9.1-RELEASE? The state of FreeBSD 10.x (head/CURRENT) is usually in fluctuation, you should try something other than head. 6. You're using VMware Workstation; where did the source ZFS pool come from? Do you have physical disks attached to the machine and are using the "Use a physical disk" feature? If you're using "disk images" made by something, what did you use? Please provide all the details, how you did it, etc... 7. Is there some reason you cannot try this on bare metal? 8. On FreeBSD 9.x (see above) or 10.x, during boot, drop to the loader prompt and issue "set vfs.zfs.prefetch_disable=1" followed by "boot". See if that has any impact during the "zpool import" phase. Otherwise, ZFS experts are going to have to help you, and will probably require use of zdb(8) and a lot of attention. You may get faster and better support from Illumos/OpenIndiana or Solaris-related lists, especially if you are able to panic those with ZFS. I am certain they will be **extremely** interested (folks there are responsible for ZFS as a filesystem, not FreeBSD/FreeNAS/etc.). -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB |