Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2010 09:34:37 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Dick Hoogendijk <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: zfs data on disk
Message-ID:  <20100811143437.GB18896@dan.emsphone.com>
In-Reply-To: <4C6253A7.3050701@nagual.nl>
References:  <4C6253A7.3050701@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100811143437.GB18896>