From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:34:39 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 11A041065670 for ; Wed, 11 Aug 2010 14:34:39 +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 CBBA08FC12 for ; Wed, 11 Aug 2010 14:34:38 +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 o7BEYbmf050532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 09:34:38 -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 o7BEYb3h089267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 09:34:37 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7BEYbEZ089266; Wed, 11 Aug 2010 09:34:37 -0500 (CDT) (envelope-from dan) Date: Wed, 11 Aug 2010 09:34:37 -0500 From: Dan Nelson To: Dick Hoogendijk Message-ID: <20100811143437.GB18896@dan.emsphone.com> References: <4C6253A7.3050701@nagual.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C6253A7.3050701@nagual.nl> X-OS: FreeBSD 8.1-PRERELEASE 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, 11 Aug 2010 09:34:38 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: Re: zfs data on disk 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, 11 Aug 2010 14:34:39 -0000 In the last episode (Aug 11), Dick Hoogendijk said: > Where does ZFS keeps its data *on disk* for created/exported/imported > vdevs? > Is /etc/zfs the only place or are there other places? > Thanks. I don't think there's anything in /etc/zfs apart from the NFS exports file. The list of currently-mounted pools and their devices is stored in /boot/zfs/zpool.cache , and I believe is only used during bootup. vdev information itself is stored in the zpool labels; you can view that with "zdb -l /dev/nnn", where nnn is one of the devices your zpool is bulit on. More info than you probably want: http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/ondiskformat0822.pdf -- Dan Nelson dnelson@allantgroup.com