Hello,

How would I go about finding out which zone owns a particular dataset from a 
script running in the global zone?

We have some ZFS datasets that can "float" between zones on different servers 
in order to provide a manual application failover mechanism.  I've got scripts 
that gather disk usage and i/o statistics per dataset, but I'd like to make 
those statistics available in the zone which owns the dataset, rather than the 
global zone (which is where the dtrace script has to run).  So I'd like to be 
able to find out which zone owns the dataset in order to direct output into a 
directory within that zone.  Is this possible?

Thanks in advance,
- Johnson
jea...@responsys.com


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to