From owner-freebsd-fs@FreeBSD.ORG Mon Oct 24 02:00:47 2011 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 574561065674; Mon, 24 Oct 2011 02:00:47 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 184E08FC0C; Mon, 24 Oct 2011 02:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=I0mQXA96sNLPlnLmlJwY9eZNbMAfur+GaODjJ2bxZ14=; b=HIxiTeBsQxPuxMn1VBAWJjb3er6Uz0kSV6Kf6JGEfxGNN7b605KwOBVZn8dVYUFr0DhnSDGNtjGjiVX2n7HsNTmfWIHj/9Ilpqq4iivGdZ/ncQF6zjgdPb5srqexoVFn4cu5DKEr6goaT+b0zwUCIeq5TQZqBSbIGBhIT6SoX0E=; Received: from localhost.lerctr.org ([127.0.0.1]:10767 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RI9qH-000Jtt-2N; Sun, 23 Oct 2011 21:00:46 -0500 Received: from 72.182.3.73 (SquirrelMail authenticated user ler) by webmail.lerctr.org with HTTP; Sun, 23 Oct 2011 21:00:45 -0500 Message-ID: <232c55006eccb4a7a0e4bd1524da0192.squirrel@webmail.lerctr.org> In-Reply-To: <20111024.105747.1668149913902320230.hrs@allbsd.org> References: <20111024.105747.1668149913902320230.hrs@allbsd.org> Date: Sun, 23 Oct 2011 21:00:45 -0500 From: "Larry Rosenman" To: "Hiroki Sato" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: -3.2 (---) X-LERCTR-Spam-Score: -3.2 (---) X-Spam-Report: SpamScore (-3.2/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GP=0.077, TW_ZF=0.077 X-LERCTR-Spam-Report: SpamScore (-3.2/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GP=0.077, TW_ZF=0.077 Cc: freebsd-fs@freebsd.org, pjd@freebsd.org Subject: Re: Anyway to change pool to use the gpt label instead of gptid? 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: Mon, 24 Oct 2011 02:00:47 -0000 On Sun, October 23, 2011 8:57 pm, Hiroki Sato wrote: > Larry Rosenman wrote > in : > > le> On Mon, 24 Oct 2011, Edho Arief wrote: > le> > le> > On Mon, Oct 24, 2011 at 1:07 AM, Larry Rosenman > le> > wrote: > le> >> > le> >> Ideas? > le> >> > le> > > le> > actually I've given up trying to make gpt label work with zfs and > just > le> > be happy with adaXpY. > le> > > le> hehe. Yeah, unless you get lucky(tm), and it's not on a recreate, it > le> DOES > le> work, but doesn't stick. > > Does the following work for you? > > # zpool export zroot > # zpool import -d /dev/gpt zroot > > -- Hiroki > Can't do that, as root is on this zfs pool. # zpool export zroot cannot unmount '/var/run': Device busy # zpool import -d /dev/gpt zroot cannot import 'zroot': a pool with that name is already created/imported, and no additional pools with that name were found # -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893