Re: [zones-discuss] Re: [nfs-discuss] Re: [sysadmin-discuss] NFS server in zones

2007-02-15 Thread Frank Batschulat (Home)
On Thu, 15 Feb 2007 06:19:10 +0100, Mahesh Siddheshwar [EMAIL PROTECTED] wrote: Robert Thurlow wrote: Glenn Faden wrote: 4) A bug currently prevents a client instance and a server instance from being safe to use on the same box (apologies, can't quote the bugid from here). How likely, in

[zones-discuss] why not just bury zoneadm [-x nodataset] option ?

2009-12-08 Thread Frank Batschulat (Home)
friends, I went back and forth with th bug pertaining the [-x nodataset] option 6880288 zoneadm install -x nodataset option should be brand-specifc http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6880288 and eventually I decided to ask for quorum to just bury this option entirely.

Re: [zones-discuss] solaris 10 branded zone

2009-12-08 Thread Frank Batschulat (Home)
On Tue, 08 Dec 2009 18:31:55 +0100, xx david.sc...@autohandle.com wrote: i'm still not doing something right: init...@dogpatch:~# pkg install SUNWs10brand Creating Plan pkg: The following pattern(s) did not match any packages in the current catalog. Try relaxing the pattern, refreshing

Re: [zones-discuss] Impossible to install a zone on a new indiana b128a install

2009-12-09 Thread Frank Batschulat (Home)
On Tue, 08 Dec 2009 20:01:19 +0100, Ric Aleshire ric.alesh...@sun.com wrote: Vincent Boisard wrote: Hi, I just installed a new opensolaris dev b128a machine from an iso downloaded from genunix. I tried to install a zone but it failed: r...@pasiphae:~# zoneadm -z template install A ZFS

Re: [zones-discuss] Solaris10-Branded Zones Webrev: CR 6882732

2009-12-10 Thread Frank Batschulat (Home)
On Wed, 09 Dec 2009 23:54:05 +0100, Jordan Vaughan jordan.vaug...@sun.com wrote: I need someone to review my fix for 6882732 unpacking archive with extended file attributes reports errors The webrev is accessible via http://cr.opensolaris.org/~flippedb/onnv-s10c looks good to me. cheers

[zones-discuss] /var/run/zones not cleaned up ?

2009-12-10 Thread Frank Batschulat (Home)
is it to be expected that after no zoneadm/zoneadmd is running anymore, /var/run/zones still contains the corresponding lock files ? (also I looked at the current threadlist of my system and no zone releated kernel threads are running anymore) osoldev.root./var/run/zones.= zoneadm list -cp

[zones-discuss] code review for 6495558

2009-12-11 Thread Frank Batschulat (Home)
friends, may I request code review for the earth-shattering fix to: 6495558 zoneadm -z zone boot should not only check but repair filesystems http://cr.opensolaris.org/~batschul/onnv-vplat/ backround: Evaluation when booting a zone, zoneadm ( ie. vplat.c:dofsck() ) should perform the same

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-12 Thread Frank Batschulat (Home)
sounds somewhat similar to 6773836 zoneadm halt or halting/rebooting a non-global zone hangs the global zone I'll try to reproduce this using your test case and see what I find. please file a bug if it's still happen with 128 and is not fixed by 6894901 as Steve suggested. cheers frankB On

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-12 Thread Frank Batschulat (Home)
On Sat, 12 Dec 2009 10:06:43 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: sounds somewhat similar to 6773836 zoneadm halt or halting/rebooting a non-global zone hangs the global zone wrong cut+past I did ment to say: 6734679 zoneadm halt hung during zones test I'll

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-15 Thread Frank Batschulat (Home)
Glenn, I've been running this test case now for nearly a day on build 129, could'nt reproduce at all. good chance this being indeed fixed by 6894901 in build 128. I'll also try to reproduce this now on buil 126. cheers frankB On Fri, 11 Dec 2009 21:48:52 +0100, Glenn Brunette

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-16 Thread Frank Batschulat (Home)
special that I am missing. On Wed, 16 Dec 2009 09:49:25 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: Glenn, I've not been able to reproduce this on onnv build 126 (it's running for a day now) if that script would reproduce 6894901 straight away it should be doing so on 126

[zones-discuss] code review for 6911329

2009-12-17 Thread Frank Batschulat (Home)
May I have 2 code reviewers for: 6911329 Incorrect code in kstat_delete causes panic http://cr.opensolaris.org/~batschul/onnvkstat/ Description A colleague was looking into a crash and the reason turned out to be a NULL pointer dereference in kstat_delete(): kstat_delete(kstat_t *ksp) {

Re: [zones-discuss] code review for 6495558

2009-12-17 Thread Frank Batschulat (Home)
snip end here's the new webrev for your consideration: http://cr.opensolaris.org/~batschul/onnv-vplat/ thanks! frankB On Tue, 15 Dec 2009 08:37:49 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: valid point, Ed! ignoring the minor detail that my fix should really do 'fsck -o p

Re: [zones-discuss] code review for 6911329

2009-12-18 Thread Frank Batschulat (Home)
On Thu, 17 Dec 2009 23:16:19 +0100, Dan Price d...@eng.sun.com wrote: On Thu, Dec 17, 2009 at 07:17:50PM +0100, Frank Batschulat (Home) wrote: May I have 2 code reviewers for: 6911329 Incorrect code in kstat_delete causes panic http://cr.opensolaris.org/~batschul/onnvkstat

Re: [zones-discuss] Webrev for CR 6782448

2009-12-22 Thread Frank Batschulat (Home)
On Sat, 19 Dec 2009 04:28:52 +0100, Jordan Vaughan jordan.vaug...@sun.com wrote: I expanded my webrev to include my fix for 6910339 zonecfg coredumps with badly formed 'select net defrouter' I need someone to review my changes. The webrev is still accessible via

Re: [zones-discuss] Webrev for CR 6782448

2009-12-22 Thread Frank Batschulat (Home)
On Tue, 22 Dec 2009 14:55:34 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: a good argument could probably be made to turn this assert into a real check and return Z_INVAL for any of those 3 being 0 and get rid of the checks inside the xml parsing loop ? probably rather

Re: [zones-discuss] Webrev for CR 6909222

2009-12-22 Thread Frank Batschulat (Home)
On Tue, 22 Dec 2009 00:46:00 +0100, Jordan Vaughan jordan.vaug...@sun.com wrote: I need someone to review my fix for 6909222 reboot of system upgraded from 128 to build 129 generated error from an s10 zone due to boot-archive My webrev is accessible via

Re: [zones-discuss] Webrev for CR 6782448

2009-12-22 Thread Frank Batschulat (Home)
On Wed, 23 Dec 2009 01:34:59 +0100, Jordan Vaughan jordan.vaug...@sun.com wrote: http://cr.opensolaris.org/~flippedb/onnv-zone2 [...] zone_lookup_nwif() needs the three loop checks. I regenerated the webrev. You'll notice that the assertion was replaced by a check that returns

Re: [zones-discuss] Webrev for CR 6909222

2009-12-23 Thread Frank Batschulat (Home)
On Tue, 22 Dec 2009 00:46:00 +0100, Jordan Vaughan jordan.vaug...@sun.com wrote: I need someone to review my fix for 6909222 reboot of system upgraded from 128 to build 129 generated error from an s10 zone due to boot-archive My webrev is accessible via

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2009-12-23 Thread Frank Batschulat (Home)
other debugging methods, please let me know. I am going to kick this off again to see if I can catch any error messages. g On 12/16/09 3:49 AM, Frank Batschulat (Home) wrote: Glenn, I've not been able to reproduce this on onnv build 126 (it's running for a day now) if that script would

Re: [zones-discuss] Installing a specific dev release into a zone?

2009-12-27 Thread Frank Batschulat (Home)
On Sun, 27 Dec 2009 04:55:21 +0100, Tristan Ball tristan.b...@leica-microsystems.com wrote: I've got a Opensolaris snv_129 VM with which I'm playing around with zones.. Initially everything was fine, however since my initial install the opensolaris dev repository has updated to release 130,

Re: [zones-discuss] Add user in a zone - best practice

2009-12-31 Thread Frank Batschulat (Home)
On Thu, 31 Dec 2009 09:02:33 +0100, Jim Klimov jimkli...@cos.ru wrote: While I have seen many warnings explicitly noting that an NFS server should never be its own client (including sharing global shares to local zones), I confess I have failed to find any specific grounds for that.

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2010-01-06 Thread Frank Batschulat (Home)
On Wed, 06 Jan 2010 03:28:35 +0100, Glenn Brunette glenn.brune...@sun.com wrote: Just an update. I am still able to get the repeatable hangs, but I am still not able to generate a dump. If anyone has any further ideas as to how to troubleshoot this please let me know! Hey Glenn, you are

Re: [zones-discuss] Zones on shared storage - a warning

2010-01-08 Thread Frank Batschulat (Home)
On Wed, 23 Dec 2009 03:02:47 +0100, Mike Gerdts mger...@gmail.com wrote: I've been playing around with zones on NFS a bit and have run into what looks to be a pretty bad snag - ZFS keeps seeing read and/or checksum errors. This exists with S10u8 and OpenSolaris dev build snv_129. This is

Re: [zones-discuss] [zfs-discuss] Zones on shared storage - a warning

2010-01-08 Thread Frank Batschulat (Home)
On Fri, 08 Jan 2010 13:55:13 +0100, Darren J Moffat darr...@opensolaris.org wrote: Frank Batschulat (Home) wrote: This just can't be an accident, there must be some coincidence and thus there's a good chance that these CHKSUM errors must have a common source, either in ZFS or in NFS

Re: [zones-discuss] Zones on shared storage - a warning

2010-01-09 Thread Frank Batschulat (Home)
On Fri, 08 Jan 2010 18:33:06 +0100, Mike Gerdts mger...@gmail.com wrote: I've written a dtrace script to get the checksums on Solaris 10. Here's what I see with NFSv3 on Solaris 10. jfyi, I've reproduces it as well using a Solaris 10 Update 8 SB2000 sparc client and NFSv4. much like you I

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2010-01-18 Thread Frank Batschulat (Home)
On Wed, 23 Dec 2009 15:26:17 +0100, Glenn Brunette glenn.brune...@sun.com wrote: Just verified that something is still wrong in b129, but the problem is _not_ with a vanilla configuration. This time around boot/halt #102, the system apparently shutdown/panic'ed? I was running it overnight

[zones-discuss] zcons module failing modunload ?

2010-01-21 Thread Frank Batschulat (Home)
Hiya, from the code the zcons module is supposed to be unloadable. 314 _fini(void) 315 { 316 int err; 317 318 if ((err = mod_remove(modlinkage)) != 0) { 319 return (err); 320 } 321 322

Re: [zones-discuss] zcons module failing modunload ?

2010-01-22 Thread Frank Batschulat (Home)
On Thu, 21 Jan 2010 20:25:25 +0100, Edward Pilatowicz edward.pilatow...@sun.com wrote: well, the module is indeed unloadable: ---8--- edp{ro...@mcescher$ modinfo | grep zcons edp{ro...@mcescher$ modload -p drv/zcons edp{ro...@mcescher$ modinfo | grep zcons 301 f880a5b0 1ad0 164

[zones-discuss] why are zone datasets mounted when no zone is running ?

2010-01-22 Thread Frank Batschulat (Home)
Hiya, I observed that zone datasets are mounted even though no zones are running. this strikes me like a bug ? aren't they supposed to be mounted only when the zone boots ? example from build 130: osoldev.root./export/home/batschul.= zoneadm list -cp 0:global:running:/::ipkg:shared

Re: [zones-discuss] why are zone datasets mounted when no zone is running ?

2010-01-22 Thread Frank Batschulat (Home)
On Fri, 22 Jan 2010 12:57:09 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: Hiya, I observed that zone datasets are mounted even though no zones are running. this strikes me like a bug ? aren't they supposed to be mounted only when the zone boots ? example from build 130

Re: [zones-discuss] Zones patching issues using attach -u

2010-01-22 Thread Frank Batschulat (Home)
On Fri, 22 Jan 2010 18:30:39 +0100, Gael gael.marti...@gmail.com wrote: This is bug: 6857294 zoneadm attach leads to partially installed packages I believe a T patch might be available for the S10 SVr4 packaging code if you need it, but I see that the fix has not yet been integrated into

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2010-01-23 Thread Frank Batschulat (Home)
On Mon, 18 Jan 2010 16:33:38 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: the bad news is, I'm not getting the dumps, sigh. this is due to bug: 6911155 kernel dump fails if panic happens in interrupt service routine which is fixed in build 131. So I will persue

Re: [zones-discuss] Downgrading zones on Opensolaris 2009.x ( b131)

2010-01-26 Thread Frank Batschulat (Home)
On Tue, 26 Jan 2010 11:03:11 +0100, Dick Hoogendijk d...@nagual.nl wrote: Op 25-1-2010 12:30, Paul van der Zwan schr Unfortunately I am running into bug 6912829 ( causes panic on zoneadm halt ) quite often. Do or don't zones work correctly on OpenSolaris-b131? if you are using exclusive

Re: [zones-discuss] OpenSolaris zone migration

2010-02-04 Thread Frank Batschulat (Home)
On Thu, 04 Feb 2010 01:11:19 +0100, Ted Ward thomas.w...@sun.com wrote: I am trying to migrate a zone on OpenSolaris from one identical system to another. It's going from x86 to sparc, but even when going from x86 to x86 I get the same error. Here's the build of both systems SunOS hostname

Re: [zones-discuss] upgrading and zones

2010-02-06 Thread Frank Batschulat (Home)
On Sat, 06 Feb 2010 10:30:18 +0100, dick hoogendijk d...@nagual.nl wrote: Going from OpenSolaris b131 to b132.. Am I correct in this procedure: [1] pkg image-update (with zones attached) [2] after reboot to the new BE detach the zones [3] zoneadm attach -u zones precisely OR, do I have to

Re: [zones-discuss] zoneadm clone -m copy does not really copy on ZFS zonepath

2010-02-13 Thread Frank Batschulat (Home)
On Fri, 12 Feb 2010 23:47:36 +0100, Christine Tran christine.t...@gmail.com wrote: Hi, I'm sorry to bug the OpenSolaris for a question that pertains to S10U8, but I am really stuck. I am doing a zoneadm clone -m copy, and I do not want a new ZFS dataset even though my zonepath is on a ZFS

Re: [zones-discuss] zoneadm hangs after repeated boot/halt use

2010-02-15 Thread Frank Batschulat (Home)
On Sat, 23 Jan 2010 18:47:45 +0100, Frank Batschulat (Home) frank.batschu...@sun.com wrote: so lets wait for build 132...I'll also look at your dump from your test system on monday, but I suspect it'll be the same IP panic... Hey Glenn, so I finally managed testing latest ISC with this stress

Re: [zones-discuss] Native Vs. ipkg

2010-02-18 Thread Frank Batschulat (Home)
On Thu, 18 Feb 2010 16:45:01 +0100, Ben ben.lav...@gmail.com wrote: What are the differences between native and ipkg zones? When I did one of the Solaris 10 admin courses we learnt how zones use parts of the global-zone (for example using global-zone directories like /etc etc...). That is

Re: [zones-discuss] zoneadm clone -m copy does not really copy on ZFS zonepath

2010-02-18 Thread Frank Batschulat (Home)
On Thu, 18 Feb 2010 19:58:11 +0100, Christine Tran christine.t...@gmail.com wrote: On Sat, Feb 13, 2010 at 3:10 AM, Frank Batschulat (Home) frank.batschu...@sun.com wrote: a '-x nodataset' option for 'clone' like in 'install' is unlikely going to happen, in fact I will remove the '-x

[zones-discuss] codereview for 6914152 (zonecfg)

2010-02-19 Thread Frank Batschulat (Home)
May I request 2 code reviewers for the changes for: 6914152 zonecfg fails when less(1M) is missing http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6914152 http://cr.opensolaris.org/~batschul/zpager/ thanks! frankB 1) old failure when $PAGER was bogus:

Re: [zones-discuss] codereview for 6914152 (zonecfg)

2010-02-19 Thread Frank Batschulat (Home)
On Fri, 19 Feb 2010 15:39:21 +0100, Jerry Jelinek gerald.jeli...@sun.com wrote: On 02/19/10 06:53, Frank Batschulat (Home) wrote: May I request 2 code reviewers for the changes for: 6914152 zonecfg fails when less(1M) is missing http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id

Re: [zones-discuss] renaming zonepath

2010-02-20 Thread Frank Batschulat (Home)
On Sun, 21 Feb 2010 07:15:10 +0100, Anil an...@entic.net wrote: I am trying to rename a zonename (and zonepath) to a new zone. But I get this error: # zfs rename zones/bugs zones/note cannot rename 'zones/bugs': child dataset with inherited mountpoint is used in a non-global zone thats

[zones-discuss] headsup: going to build 133 with Zones installed

2010-02-21 Thread Frank Batschulat (Home)
jfyi, if you do 'pkg image-upgrade' from build (132) to build 133 and you do have non-global zones in the installed state, you may run into: Bug 14668 - pkg directory action does work when there is none http://defect.opensolaris.org/bz/show_bug.cgi?id=14668 note that you should only hit this

Re: [zones-discuss] Error on zoneadm attach -u when going from b132 to b133

2010-02-22 Thread Frank Batschulat (Home)
On Mon, 22 Feb 2010 11:49:46 +0100, Paul van der Zwan paul.vanderz...@sun.com wrote: I upgraded my system from b132 to b133 this weekend and I got error messages when I ran attach -u to upgrade my zones. The second run of the install of updated packages fails. In the log I find: $ pfexec

[zones-discuss] minor code review for 6890415 6880288 (zoneadm.c, native brand)

2010-02-22 Thread Frank Batschulat (Home)
May I have 2 code reviewers for the following minor changes for: PSARC/2010/008 Remove zoneadm install sub-option -x nodataset 6880288 retire zoneadm install -x nodataset option 6890415 zoneadm install fails but returns 0 http://cr.opensolaris.org/~batschul/nodataset/ thanks! frankB Notes:

Re: [zones-discuss] renaming zonepath

2010-02-23 Thread Frank Batschulat (Home)
On Sun, 21 Feb 2010 17:33:06 +0100, Anil an...@entic.net wrote: r...@vps1:~# zoneadm -z note move /zones/note Moving across file systems; copying zonepath /zones/bugs...sh[1]: cd: /zones/bugs: [No such file or directory] zoneadm: zone 'note': 'copy' failed with exit code 1. The copy

Re: [zones-discuss] Zones on shared storage - a warning

2010-02-23 Thread Frank Batschulat (Home)
update on this one: a workaround if you so will, or the more appropriate way to do this is apparently to use lofiadm(1M) to create a pseudo block device comprising the file hosted on NFS and use the created lofi device (eg. /dev/lofi/1) as the device for zpool create and all subsequent I/O

Re: [zones-discuss] impossible to attach migrated zone to a new server

2010-05-20 Thread Frank Batschulat (Home)
On Wed, 19 May 2010 20:47:41 +0200, Philippe B├╝rgisser burgis...@rfidcenter.ch wrote: I followed the guide (http://docs.sun.com/app/docs/doc/819-2450/gcgnc?l=ena=view) from sun to move a working zone into a new server with the same configuration. I executed those commands : tar xf

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 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 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

[zones-discuss] confusing zone login processes

2010-06-02 Thread Frank Batschulat (Home)
just noticed something strange, perhaps someone has an explanation ? after booting a zone and login to that: osoldev.batschul./export/home/techdocs/solaris_kernel/zones.= pfexec zoneadm -z zone2 boot osoldev.batschul./export/home/techdocs/solaris_kernel/zones.= ps -eafd -Z | grep login

Re: [zones-discuss] confusing zone login processes

2010-06-02 Thread Frank Batschulat (Home)
On Wed, 02 Jun 2010 09:53:03 +0200, casper@sun.com wrote: osoldev.batschul./export/home/techdocs/solaris_kernel/zones.= ps -eafd -Z | grep login global root 3822 975 0 07:59:39 pts/2 0:00 zlogin zone2 zone2 root 3823 3822 0 07:59:39 ?? 0:00

Re: [zones-discuss] whole root not installed ?!?

2010-07-03 Thread Frank Batschulat (Home)
On Sat, 03 Jul 2010 13:36:51 +0200, Daniel Dinu daniel.d...@gmail.com wrote: zone1 is installed in /vol1/zone1 and zone2 in /vol1/zone2. zone1 was configured as a sparse root zone (I used create command). zone2 was configured as a whole root zone (I used create -b command). Still, the space

Re: [zones-discuss] Branded zones and external hardware

2010-08-05 Thread Frank Batschulat (Home)
On Thu, 05 Aug 2010 14:03:20 +0200, Richard L. Hamilton rlha...@smart.net wrote: I would like to upgrade a Thumper we use as a staging server for backups form Solaris 10 to OpenSolaris. The backup application (NetVault) is only supported on Solaris. So my question is: can a branded Solaris

Re: [zones-discuss] Branded zones and external hardware

2010-08-05 Thread Frank Batschulat (Home)
On Thu, 05 Aug 2010 15:03:56 +0200, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: Frank Batschulat (Home) frank.batschu...@sun.com wrote: the problem with exporting the tape device to a NGZ, which although not supported can be achived as you mention, is that there's no way