[zones-discuss] [Online help] ERROR: Memory size is not yet configured! Using zonecfg to ..

2011-04-11 Thread qiaoz
Hi all experts:
   When I attempt to execute an program on solaris(X86) zone platform, an error 
indicated that the memory size is not yet configured, please see the following 
zone info as below: 
 
-bash-3.00# ./ams-9.0.10.0-108719-solaris-x86_2.bin 
Checking OS and version ...
ERROR: Memory size is not yet configured! Using zonecfg to configure 
capped-memory resource
---   
zonecfg:amstest> export
create -b
set zonepath=/export/home/amstest
set autoboot=true
set ip-type=shared
add inherit-pkg-dir
set dir=/lib
end
add inherit-pkg-dir
set dir=/platform
end
add inherit-pkg-dir
set dir=/sbin
end
add inherit-pkg-dir
set dir=/usr
end
add net
set address=135.251.246.170/24
set physical=bnx0
set defrouter=135.251.246.1
end
add rctl
set name=zone.max-swap
add value (priv=privileged,limit=8589934592,action=deny)
end
add rctl
set name=zone.max-locked-memory
add value (priv=privileged,limit=2147483648,action=deny)
end
add capped-memory
set physical=4G
end
zonecfg:amstest> info
zonename: amstest
zonepath: /export/home/amstest
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 135.251.246.170/24

--
-bash-3.00# kstat 'caps:11:lockedmem_zone_11:usage'
module: capsinstance: 11
name:   lockedmem_zone_11   class:zone_caps
usage   0

Why this memory usage is still '0'? How to resolve it?

Thanks in advance!
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Patching: zpool split of rpool versus LU ?

2011-04-11 Thread Nitin Verma
Hi Mates,

We have a complex env. with root on ZFS, zones and zpools and booting 
environments. I have been experiencing lots of issues (now and then) while 
using the LU feature to patch OS. I usually end up fixing mountpoints, promote 
lingering databsets etc.

So I am now inclined of "still" using LU to patch systems but before touching 
the system, I am planning to do "zpool split rpool rpool2" to be on the safer 
side! I know booting from rpool is not clean yet and gives some errors like 
dump,swap,vfstab etc.. but at least you have option to failback!  

I am inclined bcos one of my mates, lost major zone/zonepath (on zfs ds) while 
trying to fix mountpoint / promote clone etc...

What say?

Regds,
Nitin
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org