From owner-freebsd-questions@FreeBSD.ORG Wed Sep 8 16:49:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF93C10656B3 for ; Wed, 8 Sep 2010 16:49:10 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 66C028FC14 for ; Wed, 8 Sep 2010 16:49:10 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o88Gn8U6026156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Sep 2010 11:49:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o88Gn8B2029579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Sep 2010 11:49:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o88Gn8ua029574; Wed, 8 Sep 2010 11:49:08 -0500 (CDT) (envelope-from dan) Date: Wed, 8 Sep 2010 11:49:08 -0500 From: Dan Nelson To: Pete Erickson Message-ID: <20100908164908.GA89940@dan.emsphone.com> References: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> <4C872B17.3020606@cyberleo.net> <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 08 Sep 2010 11:49:08 -0500 (CDT) Cc: CyberLeo Kitsana , freebsd-questions@freebsd.org Subject: Re: Exporting ZFS Pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 16:49:10 -0000 In the last episode (Sep 08), Pete Erickson said: > On Wed Sep 8 01:20:07 2010, CyberLeo Kitsana wrote: > > On 09/07/2010 09:25 PM, Pete Erickson wrote: > >> I'm relatively new to ZFS and have been playing around with different > >> file-backed set ups to determine how I will eventually configure my > >> pools. I've recently come across a problem with exporting a pool, but > >> I'm not sure if it's a bug or just my poor understanding of ZFS. I > >> create a simple pool using 2 128MB files. After exporting the pool, I am > >> unable to import it and the pool is not found by the zpool command. Any > >> advise would be appreciated. I'm currently running 8.1 STABLE. > > > > Curious, neither can I (8.1-RELEASE): > > > > (f84104b2)[cyberleo@akisha /tmp/zp]$ truncate -s 256m d1 d2 > > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool create pool /tmp/zp/d1 /tmp/zp/d2 Try using mdconfig to attach these files as disk devices. "mdconfig -a -t vnode -f /tmp/zp/d1" and "-f /tmp/zp/d2" (you'll get two md# devices), then see if the zpool import command is any happier. It may be looking for disk devices and not files. -- Dan Nelson dnelson@allantgroup.com