On Wed, Aug 29, 2007 at 11:40:34PM +0530, Balu manyam wrote: > Thanks ,Eric - I am looking for a way to import a zpool which is a bit by > bit copy of the zpool(hence also the meta data) which is already imported on > the same host ..that is two pools one imported and one not are presented to > the same host > > Do you have any suggestions for this?
There is currently no way to do this. It has come up before, but its tricky. By definition, a GUID is supposed to be a globally unique identifier for a pool. It would be pretty simple to write a utility that given a device, changed its guid to another random value. See zpool_read_label() for how the label is read in userland. It would not be hard to write out an updated packed nvlist. - 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