Rafael Friedlander
2009-Feb-11 16:17 UTC
[zfs-discuss] importing zpools after a remote replication from different sites
Hi, In a scenario where multiple sites replicate their zpools (EMC storage, hardware based replication) to a single storage in a central site, and given that all zpools have the same name, can the host in the central site correctly identify and mount the different zpools correctly? Thanks, Rafael. -- => Rafael Friedlander => Sun Microsystems => OEM Specialist => +972 544 971 564
Frank Cusack
2009-Feb-11 19:32 UTC
[zfs-discuss] importing zpools after a remote replication from different sites
On February 11, 2009 6:17:58 PM +0200 Rafael Friedlander <rafa at sun.com> wrote:> In a scenario where multiple sites replicate their zpools (EMC storage, > hardware based replication) to a single storage in a central site, and > given that all zpools have the same name, can the host in the central > site correctly identify and mount the different zpools correctly?yes, hostid that last mounted the zpool is stored in the zpool. Solaris will skip zpools that were mounted by someone else. -frank
Dave
2009-Feb-11 19:47 UTC
[zfs-discuss] importing zpools after a remote replication from different sites
You can also import pools by their unique ID instead of by name. If the pool is not imported, ''zpool import'' with no arguments should list the pool IDs. If the pool is imported, ''zpool get guid <poolname>'' will list the pool ID. Beware that if the zpools have the same mountpoints set within any of their datasets, then that may cause problems when importing more than one zpool at a time. Frank Cusack wrote:> On February 11, 2009 6:17:58 PM +0200 Rafael Friedlander <rafa at sun.com> > wrote: >> In a scenario where multiple sites replicate their zpools (EMC storage, >> hardware based replication) to a single storage in a central site, and >> given that all zpools have the same name, can the host in the central >> site correctly identify and mount the different zpools correctly? > > yes, hostid that last mounted the zpool is stored in the zpool. Solaris > will skip zpools that were mounted by someone else. > > -frank > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss