Hi Ketan,

Ketan wrote:
How to check to which pool a zone is associated from global zone.
I have 3 pools and 5 zones on my system. I want to check to which pool each 
zone is bound from the global zone not from the non-global zone.

would the output of

$ zonecfg -z <zonename> info | grep "^pool:"

be sufficient?

Maybe the following can do what you want in one step:

$ zoneadm list -c | \
nawk '!/global/{printf ("%s: ", $1);
system ("zonecfg -z "$1" info | grep \"^pool:\"")}'


zones-discuss mailing list

Reply via email to