Re: [zones-discuss] zoneadm confusion

2008-07-10 Thread Konstantin Gremliza
Thank you Dan! Also for the good hint to look at zone.c. I tried to add some of the information into my picture. I moved it to http://gremliza.net  for anyone who likes it. Regards, Konstantin This was my good old zone_state.d dtrace script: #!/usr/sbin/dtrace -qs BEGIN {     z[0]="U

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Dan Price
On Thu 10 Jul 2008 at 02:42AM, Konstantin Gremliza wrote: >Ok. > >I wrote a dtrace script to monitor zone states. The resulting automata is >in the attachment. >In the state down, we should still have a zsched (ps), but we should not >have any mounted filesystems, which is true

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Martin Englund
On 9 jul 2008, at 21:42, Konstantin Gremliza wrote: > I wrote a dtrace script to monitor zone states. The resulting > automata is in the attachment. > In the state down, we should still have a zsched (ps), but we should > not have any mounted filesystems, which is true (df). > There is no zsc

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Martin Englund
Konstantin, here's the info you requested: [EMAIL PROTECTED] # pstack $(pgrep -f 'zoneadm.*jcp-mail-zn-mn-colo1') 21276: zoneadmd -z jcp-mail-zn-mn-colo1 - lwp# 1 / thread# 1 fef05405 pollsys (8046cf0, 4, 0, 0) feeb6592 poll (8046cf0, 4, )

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread James Carlson
Martin Englund writes: > I get over 10,000 lines of output from "::threadlist -v" any hints > on how to find the needle in the haystack? :) I usually do "::threadlist -v ! less" and then search around in the output. The first suspects are zoneadmd and any longish-looking stacks. (There are more

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Konstantin Gremliza
Martin Englund schrieb: > I get over 10,000 lines of output from "::threadlist -v" any hints on how to > find the needle in the haystack? :) > > cheers, > /Martin > > > This message posted from opensolaris.org > ___ > zones-discuss mailing list > zon

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Martin Englund
I get over 10,000 lines of output from "::threadlist -v" any hints on how to find the needle in the haystack? :) cheers, /Martin This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Martin Englund
On 9 jul 2008, at 09:32, James Carlson wrote: > Is there any chance that it's stuck trying to shut down? I'd first > look for threads that appear to be stuck in mdb's "::threadlist -v" > output. > Argh! I missed one word ("already") in the message when I tried to boot the zone after killing th

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Martin Englund
James, On 9 jul 2008, at 09:32, James Carlson wrote: > Martin Englund writes: >> But at the same time, zoneadm boot thinks it is up: >> [EMAIL PROTECTED] # zoneadm -z jcp-mail-zn-mn-colo1 boot >> zoneadm: zone 'jcp-mail-zn-mn-colo1': zone is already booted >> >> If I try to halt the zone, it just

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread James Carlson
Martin Englund writes: > But at the same time, zoneadm boot thinks it is up: > [EMAIL PROTECTED] # zoneadm -z jcp-mail-zn-mn-colo1 boot > zoneadm: zone 'jcp-mail-zn-mn-colo1': zone is already booted > > If I try to halt the zone, it just hangs: > [EMAIL PROTECTED] # zoneadm -z jcp-mail-zn-mn-colo1

Re: [zones-discuss] zoneadm confusion

2008-07-09 Thread Martin Englund
Eh, it is not Solaris 10, it should say build 85 of Nevada :) cheers, /Martin This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org