[zones-discuss] Re: Bug, bad idea, or both?

2006-11-24 Thread Frank Batschulat
> 10> all attempts to unmount the "stale" loopback > mount fail that's because lofs(7FS) does not support forcibly unmounts. 6296637 Support of force unmount for loop back filesystem lofs --- frankB This message posted from opensolaris.org ___ zo

Re: [zones-discuss] zones on shared storage proposal

2009-11-27 Thread Frank Batschulat
Hey Ed, I want to comment on the NFS aspects involed here, On Thu, May 21, 2009 at 3:55 AM, Edward Pilatowicz wrote: > >well, it all depends on what nfs shares are actually being exported. I definitively think we do want to abstain from that much programmatic attempts inside the Zones framework

Re: [zones-discuss] zones on shared storage proposal

2009-11-27 Thread Frank Batschulat
Hey Ed, addition to my previous posting as I just noticed something I've totally forgotten about > afaik, determining the mount point should be pretty > strait forward. i was planning to get a list of all the shares > exported by the specified nfs server, and then do a strncmp() of all the > e

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

2010-02-21 Thread Frank Batschulat
> workaround_2 (as reported in the bug): > - rebooting into single user, entering "maintenance > mode" as "root" and image-updating from there. > -- this workaround is BAD as Evan just discovered: http://opensolaris.org/jive/thread.jspa?threa

Re: [zones-discuss] Use Hostname in "add net", "set address"

2011-07-20 Thread Frank Batschulat
On Wed, 20 Jul 2011 18:08:28 +0200, GGallagher wrote: Is it supported to use a hostname rather than an IP address when creating a new interface for a zone? This will not be the primary interface for the zone. I have a need to do this because the IP address needs to change when we brin

Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.

2011-09-06 Thread Frank Batschulat
On Tue, 06 Sep 2011 21:27:40 +0200, LaoTsao wrote: interesting, IMHO, this type of change will make many many s10 users unhappy I assume you are refering to Mike's response that zones require their own seperate ZFS dataset going forward ? if so can you give some reasons why this would make c

Re: [zones-discuss] s10u8 zoneadm attach -U ?

2011-09-25 Thread Frank Batschulat
On Sun, 25 Sep 2011 12:16:35 +0200, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm detach then upgrade OS then attach the system doesnot allow attach -U ...no such options but the man page in u8 say http://download.oracle.com/doc

Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-10 Thread Frank Batschulat
On Thu, 10 Nov 2011 14:39:41 +0100, Mike Gerdts wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: >On Fri, Oct 07, 2011 at 12:23:30PM -0700, Michael Speer wrote: >>All, >> >>I have two questions based on what I have been seeing where I do

Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-10 Thread Frank Batschulat
On Thu, 10 Nov 2011 14:50:25 +0100, Enda o'Connor - Oracle Ireland - Software Engineer wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) osoldev.batschul./.=> ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 236

Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-10 Thread Frank Batschulat
On Thu, 10 Nov 2011 14:53:06 +0100, Mike Gerdts wrote: On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) That statement is worrisome. I think, however, it is not correct

Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-10 Thread Frank Batschulat
On Thu, 10 Nov 2011 15:49:57 +0100, Mike Gerdts wrote: On Thu 10 Nov 2011 at 02:53PM, Frank Batschulat wrote: On Thu, 10 Nov 2011 14:53:06 +0100, Mike Gerdts wrote: >On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: >>fwiw, on 175b I do have the file but not the package

Re: [zones-discuss] Problem booting Solaris 10 zone imported form Solaris 11 express

2011-12-14 Thread Frank Batschulat
On Wed, 14 Dec 2011 19:48:09 +0100, Ian Collins wrote: may be you need to run attach -U instead -U? There isn't a documented -U option. zoneadm attach -U was a new feature we introduced with s10 Update 9 to perform a full update, pls. refer to page #4 here http://blogs.sun.com/batschul/re

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

Re: [zones-discuss] solaris 10 branded zone

2009-12-08 Thread Frank Batschulat (Home)
On Tue, 08 Dec 2009 18:31:55 +0100, xx 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 and/or examining the c

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

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

[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 0:gl

[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 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 tasks as

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

Re: [zones-discuss] code review for 6495558

2009-12-14 Thread Frank Batschulat (Home)
> i know that some s10 deployments use that. > > ed > > On Fri, Dec 11, 2009 at 02:24:49PM +0100, Frank Batschulat (Home) wrote: >> friends, may I request code review for the earth-shattering fix to: >> >> 6495558 zoneadm -z boot should not only check but repair fil

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 wrote: > > As p

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

2009-12-16 Thread Frank Batschulat (Home)
details in your environment that I don't have or if that script really reliably reproduces 6894901 cheers frankB On Tue, 15 Dec 2009 15:23:06 +0100, Frank Batschulat (Home) wrote: > Glenn, I've been running this test case now for nearly a day on build 129, > could'nt > r

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

[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) { k

Re: [zones-discuss] code review for 6495558

2009-12-17 Thread Frank Batschulat (Home)
d 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) wrote: > valid point, Ed! > > ignoring the minor detail that my fix should really > do 'fsck

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

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 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 > > http://cr.opensolaris.org/~flippedb/onnv-

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

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 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 > > http://cr.opensolaris.org/~flippedb/onnv-s10c Jo

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 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 Z_INSUFFICIENT_SPEC. Hey Jo

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 > 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 >> >> http://cr.opensolaris.org/~flippedb/

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

2009-12-23 Thread Frank Batschulat (Home)
ssible for you to try the steps above on a fresh > install of 2009.06 or later (b129 is where I am right now). Also, > if you have 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 > > >

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 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, and now I > can't install new zone

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 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. simplified reasons a

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 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 not fogotten, I shall

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 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 likely a blocker

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

Re: [zones-discuss] Fix proposed for 6905313 (in my case: "zoneadm attach -u" fails)

2010-01-08 Thread Frank Batschulat (Home)
Hey Jim, I've put a pointer to this suggestion into the bugs public comments so the engineer working it gives it a try. cheers frankB On Wed, 30 Dec 2009 17:32:47 +0100, Jim Klimov wrote: > I'm trying to "zoneadm attach -u" while importing my zones from snv_117 to a > system with snv_129. > >

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 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 also get READ error

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 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 > and came in to a sy

[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 ddi_soft_state_fini(&zc_s

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 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 1 zcons (Zone con

[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 -:zone2:in

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) 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 ? > &

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 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 the nv SVr4

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) 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 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 IP stac

Re: [zones-discuss] zlogin -C zone

2010-01-26 Thread Frank Batschulat (Home)
On Tue, 26 Jan 2010 14:22:59 +0100, dick hoogendijk wrote: > I get very very frustrated. I installed a zone on my opensolaris b131 > and all went well. The zone boots OK. > Then it's time for the "zlogin -C" but no matter what, I always seem to > choose the wrong keyboard and so all I get pressin

Re: [zones-discuss] OpenSolaris zone migration

2010-02-04 Thread Frank Batschulat (Home)
On Thu, 04 Feb 2010 01:11:19 +0100, Ted Ward 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 5.11 snv_111b

Re: [zones-discuss] upgrading and zones

2010-02-06 Thread Frank Batschulat (Home)
On Sat, 06 Feb 2010 10:30:18 +0100, dick hoogendijk 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 detach -

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 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 filesystem, for > per

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

Re: [zones-discuss] Native Vs. ipkg

2010-02-18 Thread Frank Batschulat (Home)
On Thu, 18 Feb 2010 16:45:01 +0100, Ben 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 one of the differ

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 wrote: > On Sat, Feb 13, 2010 at 3:10 AM, Frank Batschulat (Home) > wrote: >> >> a '-x nodataset' option for 'clone' like in 'install' is unlikely going to >> happen, in >> fact I wi

[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: osoldev.root./export/home/batsc

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

Re: [zones-discuss] renaming zonepath

2010-02-20 Thread Frank Batschulat (Home)
On Sun, 21 Feb 2010 07:15:10 +0100, Anil 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 correct, zf

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

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 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 cat /var/tmp/dns.a

[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: f

Re: [zones-discuss] renaming zonepath

2010-02-23 Thread Frank Batschulat (Home)
On Sun, 21 Feb 2010 17:33:06 +0100, Anil 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 failed. > More i

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

Re: [zones-discuss] renaming zonepath

2010-02-24 Thread Frank Batschulat (Home)
On Tue, 23 Feb 2010 10:27:21 +0100, Frank Batschulat (Home) wrote: > however contrary to this description and your case, in my tests this just > renames > the zfs mount point property and does notthing else, even when the move would > cross > file system boundaries: > >

Re: [zones-discuss] zone state change agent

2010-02-27 Thread Frank Batschulat (Home)
On Sat, 27 Feb 2010 17:01:54 +0100, Robert Bailey wrote: > Using Dtrace to monitor non-global zones > Current defined zone states from zone.h > /* zone_status */ > typedef > enum { > ZONE_IS_UNINITIALIZED = 0, > ZONE_IS_READY, > ZONE_IS_BOOTING, > ZONE_IS_RUNNING, > ZONE_IS_SHUTTING_DOWN, > ZONE_

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

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

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

2010-05-27 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 07:31:27 +0200, 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. > > Currently t

Re: [zones-discuss] new zones community leaders

2010-05-27 Thread Frank Batschulat (Home)
On Fri, 28 May 2010 01:01:11 +0200, Edward Pilatowicz 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, 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 getzoneid(void) 2

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 wrote: > On 05/28/10 04:57, Frank Batschulat (Home) wrote: >> On Fri, 28 May 2010 10:43:22 +0200, wrote: >>> >>> getzoneid() can return a correct value even if it's called in a taskq thread >>> (kerne

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 wrote: > On 05/28/10 04:57, Frank Batschulat (Home) wrote: >> On Fri, 28 May 2010 10:43:22 +0200, wrote: >> >>> getzoneid() can return a correct value even if it's called in a taskq thread >>> (kernel c

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

Re: [zones-discuss] confusing zone login processes

2010-06-02 Thread Frank Batschulat (Home)
On Wed, 02 Jun 2010 09:53:03 +0200, 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 /usr/bin/login -z >>

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 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 used is the

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

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 wrote: > "Frank Batschulat (Home)" 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 wa