From owner-freebsd-questions@FreeBSD.ORG Wed Sep 8 14:36:49 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 BA90910656E8 for ; Wed, 8 Sep 2010 14:36:49 +0000 (UTC) (envelope-from redlamb@redlamb.net) Received: from ironhide.redlamb.net (ironhide.redlamb.net [216.17.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id 93BAC8FC0A for ; Wed, 8 Sep 2010 14:36:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ironhide.redlamb.net (Postfix) with ESMTP id 210443976E; Wed, 8 Sep 2010 09:36:49 -0500 (CDT) Received: from ironhide.redlamb.net ([127.0.0.1]) by localhost (ironhide.redlamb.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07144-02; Wed, 8 Sep 2010 09:36:48 -0500 (CDT) Received: by ironhide.redlamb.net (Postfix, from userid 80) id 56A273972A; Wed, 8 Sep 2010 09:36:48 -0500 (CDT) Received: from 63.231.238.145 ([63.231.238.145]) by imp.redlamb.net (Horde MIME library) with HTTP; Wed, 8 Sep 2010 09:36:48 -0500 Message-ID: <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> Date: Wed, 8 Sep 2010 09:36:48 -0500 From: Pete Erickson To: CyberLeo Kitsana References: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> <4C872B17.3020606@cyberleo.net> In-Reply-To: <4C872B17.3020606@cyberleo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) Cc: 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 14:36:49 -0000 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 > (f84104b2)[cyberleo@akisha /tmp/zp]$ zpool status pool > pool: pool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > pool ONLINE 0 0 0 > /tmp/zp/d1 ONLINE 0 0 0 > /tmp/zp/d2 ONLINE 0 0 0 > > errors: No known data errors > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool export pool > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool import -d . > pool: pool > id: 16288839965492350952 > state: UNAVAIL > status: One or more devices are missing from the system. > action: The pool cannot be imported. Attach the missing > devices and try again. > see: http://www.sun.com/msg/ZFS-8000-6X > config: > > pool UNAVAIL missing device > /tmp/zp/d1 ONLINE > > Additional devices are known to be part of this pool, though their > exact configuration cannot be determined. I have received this error several times as well... it appears to be =20 very inconsistent. I feel better that I'm not the only one having this =20 problem.