On Mon, Sep 18, 2006 at 11:55:27PM -0400, Jonathan Edwards wrote:
> 
> 1) If the zpool was imported when the split was done, can the  
> secondary pool be imported by another host if the /dev/dsk entries  
> are different?  I'm assuming that you could simply use the -f  
> option .. would the guid change?

Yes, the pool can be imported on another host.  However, you cannot
change the GUID (short of writing a custom tool do rewrite the labels).

> 2) If the guid does indeed change could this zpool then be imported  
> back on the first host at the same time by specifying the secondary  
> guid instead of the pool name?

Yes, 'zpool import' allows pools to be imported by GUID, and the pool
name can be changed as part of the import to not conflict with the
existing name.

> 3) Can the same zpool be mounted on two separate hosts at the same  
> time .. in other words what happens when a second host tries to  
> import -f a zpool that's already mounted by the first host?

No, ZFS does not support active clustering from multiple hosts.  You
will end up with corrupted data.  See recent discussions about
enhancements to prevent this from happening accidentally (preventing
auto-open on boot if it's been written to from another host, providing
hostname and last write time for 'zpool import', etc).

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to