[zones-discuss] Re: I want to know if I can export the raw device node to the non-global zone

2006-08-31 Thread Qiang Liu
false alarm.

It works but it seems like I have to wait for a while until /dev/rdsk/c1t0d0s0 
is created in non-global zone. sigh.
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] I want to know if I can export the raw device node to the non-global zone

2006-08-31 Thread Qiang Liu
I have created non-global zone my-zone (sparse root model)

I have a extra raw device c1t0d0

then: 

global# zonecfg -z my-zone
zonecfg:my-zone> add device
zonecfg:my-zone:device> set match=/dev/rdsk/c1t0d0s0
zonecfg:my-zone> add device
zonecfg:my-zone:device> set match=/dev/dsk/c1t0d0s0
zonecfg:my-zone:> end
commit, ready ...
boot my-zone and login to my-zone
my-zone# newfs /dev/rdsk/c1t0d0s0
newfs: /dev/rdsk/c1t0d0s0: No such file or directory

Why it does not work?

Sun's zone admin doc says to use lofi to import Raw and Block devices.
can i export raw device like above to my-zone?

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


[zones-discuss] Re: Zones and cpu-shares

2006-08-31 Thread Marlanne DeLaSource
Thanks. Sorry I missed this info in the man pages.
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones and cpu-shares

2006-08-31 Thread Jerry Jelinek

Marlanne DeLaSource wrote:

Sorry about this question that may be stupid, but I wasn't able to display the 
cpu-shares afterwards.

I set up the rctl cpu-shares in the various zones, used dispadminand prctl (I 
also rebooted). It worked nicely. But I wanted to check the cpu-shares given to 
the 3 zones. I can figure out from prstat -J, but how could I display them ?

rctladm did not help, neither prctl.


You can use "prctl -i zone {zonename}" to see the rctls for the given zonename.
For example, "prctl -i zone global".

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


[zones-discuss] Zones and cpu-shares

2006-08-31 Thread Marlanne DeLaSource
Sorry about this question that may be stupid, but I wasn't able to display the 
cpu-shares afterwards.

I set up the rctl cpu-shares in the various zones, used dispadminand prctl (I 
also rebooted). It worked nicely. But I wanted to check the cpu-shares given to 
the 3 zones. I can figure out from prstat -J, but how could I display them ?

rctladm did not help, neither prctl.

Thanks for your patience.

Marlanne
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org