Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-15 Thread Dick Davies
On 14/10/06, Darren Dunham [EMAIL PROTECTED] wrote: So the warnings I've heard no longer apply? If so, that's great. Thanks for all replies. Umm, which warnings? The don't import a pool on two hosts at once definitely still applies. Sure :) I meant the reason I'd heard ( at

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-14 Thread Dick Davies
On 12/10/06, Michael Schuster [EMAIL PROTECTED] wrote: Ceri Davies wrote: On Thu, Oct 12, 2006 at 02:06:15PM +0100, Dick Davies wrote: I'd expect: zpool import -f (see the manpage) to probe /dev/dsk/ and rebuild the zpool.cache file, but my understanding is that this a) doesn't work

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-14 Thread Darren Dunham
So how do I import a pool created on a different host for the first time? zpool import [ -f ] (provided it's not in use *at the same time* by another host) So the warnings I've heard no longer apply? If so, that's great. Thanks for all replies. Umm, which warnings? The don't

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-13 Thread Keith Clay
Does it matter if the /dev names of the partitions change (i.e. from / dev/dsk/c2t2250CC611005d3s0 to another machine not using sun hba drivers with a different/shorter name??) thanks keith If the file does not exist than ZFS will not attempt to open any pools at boot. You must

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-13 Thread Darren Dunham
Does it matter if the /dev names of the partitions change (i.e. from / dev/dsk/c2t2250CC611005d3s0 to another machine not using sun hba drivers with a different/shorter name??) It should not. As long as all the disks are visible and ZFS can read the labels, it should be able to import

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Dick Davies
On 12/10/06, Matthew Ahrens [EMAIL PROTECTED] wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints, filesystems, etc) is stored in the pool itself. Does anyone know of any plans or strategies to remove this dependancy? -- Rasputin

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread James C. McPherson
Dick Davies wrote: On 12/10/06, Matthew Ahrens [EMAIL PROTECTED] wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints, filesystems, etc) is stored in the pool itself. Does anyone know of any plans or strategies to remove this

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Darren J Moffat
James C. McPherson wrote: Dick Davies wrote: On 12/10/06, Matthew Ahrens [EMAIL PROTECTED] wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints, filesystems, etc) is stored in the pool itself. Does anyone know of any plans or

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Dick Davies
On 12/10/06, Michael Schuster [EMAIL PROTECTED] wrote: James C. McPherson wrote: Dick Davies wrote: On 12/10/06, Matthew Ahrens [EMAIL PROTECTED] wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints, filesystems, etc) is stored in

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Ceri Davies
On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote: James McPherson wrote: On 10/12/06, Steve Goldberg [EMAIL PROTECTED] wrote: Where is the ZFS configuration (zpools, mountpoints, filesystems, etc) data stored within Solaris? Is there something akin to vfstab or perhaps a

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Dick Davies
On 12/10/06, Ceri Davies [EMAIL PROTECTED] wrote: On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints, filesystems, etc) is stored in the pool itself. What happens if the

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Darren J Moffat
Dick Davies wrote: On 12/10/06, Michael Schuster [EMAIL PROTECTED] wrote: James C. McPherson wrote: Dick Davies wrote: On 12/10/06, Matthew Ahrens [EMAIL PROTECTED] wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints,

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Ceri Davies
On Thu, Oct 12, 2006 at 02:06:15PM +0100, Dick Davies wrote: On 12/10/06, Ceri Davies [EMAIL PROTECTED] wrote: On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints,

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Ceri Davies
On Thu, Oct 12, 2006 at 07:53:37AM -0600, Mark Maybee wrote: Ceri Davies wrote: On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote: James McPherson wrote: On 10/12/06, Steve Goldberg [EMAIL PROTECTED] wrote: Where is the ZFS configuration (zpools, mountpoints, filesystems,

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Ceri Davies
On Thu, Oct 12, 2006 at 02:54:05PM +0100, Ceri Davies wrote: On Thu, Oct 12, 2006 at 02:06:15PM +0100, Dick Davies wrote: On 12/10/06, Ceri Davies [EMAIL PROTECTED] wrote: On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote: FYI, /etc/zfs/zpool.cache just tells us what pools

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Michael Schuster
Ceri Davies wrote: On Thu, Oct 12, 2006 at 02:06:15PM +0100, Dick Davies wrote: On 12/10/06, Ceri Davies [EMAIL PROTECTED] wrote: On Wed, Oct 11, 2006 at 11:49:48PM -0700, Matthew Ahrens wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Darren Dunham
I was asking if it was going to be replaced because it would really simplify ZFS root. Dick. [0] going from: http://solaristhings.blogspot.com/2006/06/zfs-root-on-solaris-part-3.html I don't know about replaced, but presumably with the addition of hostid to the pool data, it could be

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Torrey McMahon
James C. McPherson wrote: Dick Davies wrote: On 12/10/06, Matthew Ahrens [EMAIL PROTECTED] wrote: FYI, /etc/zfs/zpool.cache just tells us what pools to open when you boot up. Everything else (mountpoints, filesystems, etc) is stored in the pool itself. Does anyone know of any plans or

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Steven Goldberg
Thanks Matt. So is the config/meta info for the pool that is stored within the pool kept in a file? Is the file user readable or binary? Steve Matthew Ahrens wrote: James McPherson wrote: On 10/12/06, Steve Goldberg [EMAIL PROTECTED] wrote: Where is the ZFS configuration

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-12 Thread Matthew Ahrens
Steven Goldberg wrote: Thanks Matt. So is the config/meta info for the pool that is stored within the pool kept in a file? Is the file user readable or binary? It is not user-readable. See the on-disk format document, linked here: http://www.opensolaris.org/os/community/zfs/docs/ --matt

[zfs-discuss] Where is the ZFS configuration data stored?

2006-10-11 Thread Steve Goldberg
Hi All, Where is the ZFS configuration (zpools, mountpoints, filesystems, etc) data stored within Solaris? Is there something akin to vfstab or perhaps a database? Thanks, Steve This message posted from opensolaris.org ___ zfs-discuss mailing

Re: [zfs-discuss] Where is the ZFS configuration data stored?

2006-10-11 Thread James McPherson
On 10/12/06, Steve Goldberg [EMAIL PROTECTED] wrote: Where is the ZFS configuration (zpools, mountpoints, filesystems, etc) data stored within Solaris? Is there something akin to vfstab or perhaps a database? Have a look at the contents of /etc/zfs for an in-filesystem artefact of zfs. Apart