From owner-freebsd-fs@FreeBSD.ORG Mon Oct 24 02:01:32 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 4F95F1065673 for ; Mon, 24 Oct 2011 02:01:32 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F8E08FC1F for ; Mon, 24 Oct 2011 02:01:31 +0000 (UTC) Received: by gyd8 with SMTP id 8so6866077gyd.13 for ; Sun, 23 Oct 2011 19:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=I3q9Ko0Hxh5pL6x9boS2gbV3KV2uUS9g8Eg5L8HbFeY=; b=GKB9hQkMi6T1oT7/rrlZyTYB04aGVFwykiqCt4KLMz1N9EyhIJEcaZBvyGIlm7mhkr gmoAtLZT3hRJwPIpUT5mA33QAQS4E9exScLRUgLS9MWq+i1+PuXgVX2m144nhsaVnOyM octDZJHls/0lQZNpqxWZ6s96pKpwMAgFbEjNE= MIME-Version: 1.0 Received: by 10.236.191.71 with SMTP id f47mr3032851yhn.7.1319421691212; Sun, 23 Oct 2011 19:01:31 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.236.103.175 with HTTP; Sun, 23 Oct 2011 19:01:31 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Oct 2011 19:01:31 -0700 X-Google-Sender-Auth: VCcjK6XWDhKVTsyX8ukQ62S5axE Message-ID: From: Artem Belevich To: Larry Rosenman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@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:01:32 -0000 On Sun, Oct 23, 2011 at 6:49 PM, Larry Rosenman wrote: > On Sun, 23 Oct 2011, Artem Belevich wrote: > >> On Sun, Oct 23, 2011 at 5:52 PM, Larry Rosenman wrote: >>> >>> Is there any way to convert this setup to use the GPT labels instead of >>> the >>> the GPT UUID's in zpool status/zpool iostat? >> >> You can try exporting the pool and then importing it back with "zfs >> import -d /dev/gpt" > > Really hard to do with root on this pool :) You may be able to solve that part with LiveCD. I'm still not quite sure where device info is kept -- in the pool or in /boot/zfs/zpool.cache. You may need to copy zpool.cache to its real place in your pool once you import the pool while running LiveCD. --Artem