[zones-discuss] Removing pool defs. with zonecfg

2007-05-25 Thread Bill Casale
Can anybody tell me how to remove pool definitions within the zonecfg 
utility? I've tried variations of zonecfg remove poolname with no

luck. I can't find any syntax expamples in the documentation for
doing this.

Thanks in advance,
Bill

--

   _/_/_/  _/_/  _/ _/Bill Casale - TSE
  _/  _/_/  _/_/   _/  OS Team
 _/_/_/  _/_/  _/  _/ _/  1 Network Drive
_/  _/_/  _/   _/_/ Burlington, MA. 01802
   _/_/_/   _/_/_/   _/ _/  

M  I  C  R  O  S  Y  S  T  E  M  S


___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Libraries not mounted in local zone

2006-10-18 Thread Bill Casale
Is there a reason the hardware optimized libraries shouldn't be mounted 
in a local zone?


In the local zone, they are 0 byte files:

bash-3.00# ls -l /platform/sun4u-us3/lib/libc_psr.so.1
-rwxr-xr-x   1 root bin0 May 25 09:35 
/platform/sun4u-us3/lib/libc_psr.so.1


even though looking at the local zones path from the global zone shows 
the files as they should be:


bash-3.00# ls -l 
/oracle/zones/cvs/root//platform/sun4u-us3/lib/libc_psr.so.1
-rwxr-xr-x   1 root bin 6624 May 31 15:10 
/oracle/zones/cvs/root//platform/sun4u-us3/lib/libc_psr.so.1



The loopback mount appears to come from the 
svc:/system/filesystem/root:default service which is actually the

script /lib/svc/method/fs-root. That script has an early exit
section if it is being run in a local zone:

/lib/svc/method/fs-root:
if [ ${_INIT_ZONENAME:=`/sbin/zonename`} != global ]; then
libc_mount
exit 0
fi

... presumably to prevent rerunning of the kernel section (devfsadm), 
and remounting of /usr and root. Unfortunately, this section is at

the end and also doesn't get run in a local zone:

PLAT=`/usr/bin/uname -i`
ARCH=`/usr/bin/uname -m`
if [ $ARCH = sun4v ]; then
sun4v_libc_psr_mount
elif [ $ARCH = sun4u ]; then
if [ -h /platform/$PLAT/lib/libc_psr.so.1 ]; then
LINKSTO=`/usr/bin/ls -l 
/platform/$PLAT/lib/libc_psr.so.1 |

/usr/bin/awk '{print $NF}'`
if [ $LINKSTO = ../../sun4u-us3/lib/libc_psr.so.1 
]; then

ARCH=sun4u-us3
fi
fi
sun4u_libc_psr_mount
fi

That section mounts the hardware optimized C library, which I  think 
should also be mounted in the local zone?


--

   _/_/_/  _/_/  _/ _/Bill Casale - TSE
  _/  _/_/  _/_/   _/  OS Team
 _/_/_/  _/_/  _/  _/ _/  1 Network Drive
_/  _/_/  _/   _/_/ Burlington, MA. 01802
   _/_/_/   _/_/_/   _/ _/  

M  I  C  R  O  S  Y  S  T  E  M  S


___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Libraries not mounted in local zone

2006-10-18 Thread Bill Casale

Hi Jerry,

Thanks for your reply, I did see that bug but this is happening
on a V440 running Solaris 10 1/06 with KU 118833-23.

Bill


Jerry Jelinek wrote:

Bill Casale wrote:

Is there a reason the hardware optimized libraries shouldn't be 
mounted in a local zone?



They should be.  This was bug

6407767 libc_psr does not get mounted in a zone

which was integrated into b41.  What build are you running?

Jerry



___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Zone fails to boot

2006-07-25 Thread Bill Casale

I am a Support Engineer here at Sun. I have a customer with the
problem outlined below.


Customer has 4 zones on an E6800, one of which does not boot.

When he issues the following command:

/usr/sbin/zoneadm -z zone_name boot

he gets back:

zoneadm: zone zone_name: could not setup /dev/msglog-zconsole
symlink I/O error
zoneadm: zone zone_name: call to zoneadmd failed

I have not been able to find any information at all on what could
be causing this type of failure, any suggestiions will be greatly 
appreciated.


Thanks,
Bill

___
zones-discuss mailing list
zones-discuss@opensolaris.org