From owner-freebsd-fs@FreeBSD.ORG Fri Oct 14 14:07:36 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 D6CE3106564A for ; Fri, 14 Oct 2011 14:07:36 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74]) by mx1.freebsd.org (Postfix) with ESMTP id 813D88FC16 for ; Fri, 14 Oct 2011 14:07:36 +0000 (UTC) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id p9EE7Z8i018557; Fri, 14 Oct 2011 09:07:35 -0500 (CDT) Date: Fri, 14 Oct 2011 09:07:35 -0500 (CDT) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Jeremy Chadwick In-Reply-To: <20111014090000.GA66602@icarus.home.lan> Message-ID: References: <4E97F710.8000004@fsn.hu> <20111014090000.GA66602@icarus.home.lan> User-Agent: Alpine 2.01 (GSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (blade.simplesystems.org [65.66.246.90]); Fri, 14 Oct 2011 09:07:35 -0500 (CDT) Cc: freebsd-fs@freebsd.org Subject: Re: cache devices come up as dsk/original_device_name in zpools 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: Fri, 14 Oct 2011 14:07:36 -0000 On Fri, 14 Oct 2011, Jeremy Chadwick wrote: > > I'm not sure how to go about doing that, especially on a system which > lacks /boot/zfs/zpool.cache. A one-time "zpool export" then a reboot, I > imagine, would suffice, but I'm not sure if export actually changes the > metadata on the disk itself or just updates the zpool.cache file. Clearly export changes disk metadata since a zfs pool knows if it is (was) currently imported on a machine and will complain if an attempt is made to import the pool on another machine without it being exported first. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/