On Tue, Dec 2, 2008 at 3:44 AM, Pavel Filipensky <Pavel.Filipensky at sun.com> wrote: > >> 5) default behavior:: limit action(s) to the current zone >> available options: -Z ...apply action(s) to all *non-global* zones >> >> >> So I propose to implement 5). > > + add call of 'umountall -Z' to stop method /lib/svc/method/svc-zones
The following: global# svcadm disable -t zones Should not cause NFS mounts in the global zone to go away. This implies the need for: umountall -z zone ... svc-zones currently has the following shutdown logic: 1) zlogin $zone init 0 2) zoneadm -z $zone halt 3) give up and print an error message It seems as though it may be useful to add 2.5 where it calls "umountall -z $zone", possibly followed by one more "zoneadm -z $zone halt" attempt. It does seem as though it is logic that belongs in "zoneadm halt" rather than in service methods. Mike -- Mike Gerdts http://mgerdts.blogspot.com/