Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 07:31:27 +0200, eiji@oracle.com wrote: I'm wondering if there is a way to get a zoneid from kernel even though it's not in user context. If it's possible, this is useful for us to activate an HCA port in the exclusive-IP zone at boot time. Here's the background info.

Re: [zones-discuss] new zones community leaders

2010-05-28 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 01:01:11 +0200, Edward Pilatowicz edward.pilatow...@oracle.com wrote: hey all, i wanted to propose zone community leadership status for the following folks: Frank Batschulat Gary Pennington John Levon Susan Kamm-Worrell +1

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread eiji . ota
Hi Frank, getzoneid() can return a correct value even if it's called in a taskq thread (kernel context) and/or in an interrupt handler (interrupt context)? Thanks, -Eiji I'm wondering if there is a way to get a zoneid from kernel even though it's not in user context. If it's possible,

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote: Hi Frank, getzoneid() can return a correct value even if it's called in a taskq thread (kernel context) and/or in an interrupt handler (interrupt context)? I suppose so, look its not doing anything earth shattering: 2496

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread James Carlson
On 05/28/10 04:57, Frank Batschulat (Home) wrote: On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote: Hi Frank, getzoneid() can return a correct value even if it's called in a taskq thread (kernel context) and/or in an interrupt handler (interrupt context)? I suppose so, look

Re: [zones-discuss] booting zone after system restart fails with ERROR: no active dataset

2010-05-28 Thread Jerry Jelinek
On 05/26/10 17:14, Ian Collins wrote: I have just restarted a b133 host with several zones and no none of them will boot. They all report: # zoneadm -z svn boot zone 'svn': ERROR: no active dataset. zone 'svn': zoneadm: zone 'svn': call to zoneadmd failed I've seen this mentioned as an issue

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 13:35:07 +0200, James Carlson carls...@workingcode.com wrote: On 05/28/10 04:57, Frank Batschulat (Home) wrote: On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote: getzoneid() can return a correct value even if it's called in a taskq thread (kernel context)

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 13:35:07 +0200, James Carlson carls...@workingcode.com wrote: On 05/28/10 04:57, Frank Batschulat (Home) wrote: On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote: getzoneid() can return a correct value even if it's called in a taskq thread (kernel context)

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread Edward Pilatowicz
more information is needed about your architecture and what your trying to do. first off, as has been pointed out, if your not in user context getzoneid() isn't really that useful. second, below you keep mentioning at boot time. are you talking about system boot time? or zone boot time? at

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread eiji . ota
Hi Ed, Yes, I meant the system boot time since it'd be ideal the setup is complete w/o any customers' actions. Sounds I should go back to the project w/ the info and talk about how to deal with our issue. We might want to discuss it more with you offline then. Thanks, -Eiji more

Re: [zones-discuss] Q: is there a way to get a zoneid from kernel (not in user context)?

2010-05-28 Thread eiji . ota
Hi Frank, Yes, it seems we might not get a correct zoneid in kernel or interrupt context as you pointed out here. In our project, the listener should be initialized at boot time hopefully before the userland processes start, but in practice it seems hard according to others' e-mails including

Re: [zones-discuss] booting zone after system restart fails with ERROR: no active dataset

2010-05-28 Thread Ian Collins
On 05/29/10 12:25 AM, Jerry Jelinek wrote: On 05/26/10 17:14, Ian Collins wrote: I have just restarted a b133 host with several zones and no none of them will boot. They all report: # zoneadm -z svn boot zone 'svn': ERROR: no active dataset. zone 'svn': zoneadm: zone 'svn': call to zoneadmd

[zones-discuss] linked image content policy proposal

2010-05-28 Thread Edward Pilatowicz
[ cross-posted to pkg-discuss and zones-discuss. sorry for any dups. ] hey all, one issue that linked images has to deal with is how specify the content relationship between images. i've written up the proposal below describing one way this could be done. any comments or feedback would be

Re: [zones-discuss] booting zone after system restart fails with ERROR: no active dataset

2010-05-28 Thread Jerry Jelinek
On 05/28/10 15:16, Ian Collins wrote: On 05/29/10 12:25 AM, Jerry Jelinek wrote: On 05/26/10 17:14, Ian Collins wrote: I have just restarted a b133 host with several zones and no none of them will boot. They all report: # zoneadm -z svn boot zone 'svn': ERROR: no active dataset. zone 'svn':

Re: [zones-discuss] booting zone after system restart fails with ERROR: no active dataset

2010-05-28 Thread Ian Collins
On 05/29/10 09:51 AM, Jerry Jelinek wrote: On 05/28/10 15:16, Ian Collins wrote: What does 'zfs list' show? rpool 46.3G 542G 81.5K /rpool rpool/ROOT 5.98G 542G 21K legacy rpool/ROOT/opensolaris 5.98G 542G 5.93G / rpool/build 438M 542G 424M /build rpool/depot 42K 542G 24K /depot rpool/dump

Re: [zones-discuss] [pkg-discuss] linked image content policy proposal

2010-05-28 Thread Edward Pilatowicz
On Fri, May 28, 2010 at 05:04:07PM -0700, Danek Duvall wrote: core-os seems like it might end up being overly broad, given that, at least at the moment, it covers the entire WOS. actually, that is kinda the point (ie, covering the entire WOS). one of the features of sparse zones in s10 that