Hi, I have done a live upgrade from snv 104 to 115 on mu x86 laptop and was going to play with crossbow as per:- http://blogs.sun.com/sunay/entry/network_in_a_box_creating but I can''t install the first zone:- rts{root}48: zoneadm -z vnmbase install A ZFS file system has been created for this zone. ERROR: zones not available on this system Any ideas? Cheers Richard. -- This message posted from opensolaris.org
Kais Belgaied
2009-Jun-17 18:09 UTC
[crossbow-discuss] fwd : Zone install fails on snv 115
Forwarding to zones-discuss. (Bc''ed crossbow-discuss where the question was first asked.) On 06/17/09 09:25, Richard Skelton wrote:> Hi, > I have done a live upgrade from snv 104 to 115 on mu x86 laptop and was going to play with crossbow as per:- > http://blogs.sun.com/sunay/entry/network_in_a_box_creating > but I can''t install the first zone:- > rts{root}48: zoneadm -z vnmbase install > A ZFS file system has been created for this zone. > ERROR: zones not available on this system > > Any ideas? > > Cheers > Richard. >
> ERROR: zones not available on this systemNot sure -- you may have to update or reinstall SUNWluzone. Once you are past that error, however, you should know that OpenSolaris has changed since the blog entry you are following was written, and cloned zones now need to share a ZFS dataset. The first step -- before you configure/install vnmbase -- is to do something like: # zfs create -o mountpoint=/vnm rpool/vnm # chmod 700 /vnm Where you are intending to do something like: set zonepath=/vnm/vnmbase ... set zonepath=/vnm/host1 -- This message posted from opensolaris.org
Hi Richard, I apologize that the blog entry was few month old and not updated. As Patrick pointed out, with a zfs filesystem you need to do these two additional steps before you can create the ''vnmbase'' zone gz# zfs create -o mountpoint=/vnm rpool/vnm gz# chmod 700 /vnm Depends on how far you reached, you will have do delete the ''vnmbase'' by doing ''zonecfg -z vnmbase'' and then destroy. After the old stuff is cleaned up, create the zfs mount point (as above) and start again. The blog entry has also been updated to reflect this. Thanks Patrick for pointing this out. Cheers, Sunay Richard Skelton wrote:> Hi, > I have done a live upgrade from snv 104 to 115 on mu x86 laptop and was going to play with crossbow as per:- > http://blogs.sun.com/sunay/entry/network_in_a_box_creating > but I can''t install the first zone:- > rts{root}48: zoneadm -z vnmbase install > A ZFS file system has been created for this zone. > ERROR: zones not available on this system > > Any ideas? > > Cheers > Richard.-- Sunay Tripathi Distinguished Engineer Solaris Core Operating System Sun MicroSystems Inc. Solaris Networking: http://www.opensolaris.org/os/community/networking Project Crossbow: http://www.opensolaris.org/os/project/crossbow
> > ERROR: zones not available on this system > > Not sure -- you may have to update or reinstall > SUNWluzone.Thanks my system was missing SUNWluzone. Once installed I followed the blog to the letter and everything worked :-) rts{root}45: dladm set-linkprop -p maxbw=100 vnic1 rts{root}46: /opt/csw/bin/netperf -H 10.0.0.2 TCP STREAM TEST from ::ffff:0.0.0.0 (0.0.0.0) port 0 AF_INET to ::ffff:10.0.0.2 (10.0.0.2) port 0 AF_INET Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 49152 49152 49152 10.00 2903.50 rts{root}47: /opt/csw/bin/netperf -H 10.0.0.1 TCP STREAM TEST from ::ffff:0.0.0.0 (0.0.0.0) port 0 AF_INET to ::ffff:10.0.0.1 (10.0.0.1) port 0 AF_INET Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 49152 49152 49152 10.00 103.93> > Once you are past that error, however, you should > know that OpenSolaris has changed since the blog > entry you are following was written, and cloned zones > now need to share a ZFS dataset. The first step -- > before you configure/install vnmbase -- is to do > something like: > > # zfs create -o mountpoint=/vnm rpool/vnm > # chmod 700 /vnm > > Where you are intending to do something like: > > set zonepath=/vnm/vnmbase > ... > set zonepath=/vnm/host1-- This message posted from opensolaris.org
Great! And thanks for verifying that the blog entry at http://blogs.sun.com/sunay/entry/network_in_a_box_creating is uptodate. Thanks, Sunay Richard Skelton wrote:>>> ERROR: zones not available on this system >> Not sure -- you may have to update or reinstall >> SUNWluzone. > > Thanks my system was missing SUNWluzone. > Once installed I followed the blog to the letter and everything worked :-) > > rts{root}45: dladm set-linkprop -p maxbw=100 vnic1 > rts{root}46: /opt/csw/bin/netperf -H 10.0.0.2 > TCP STREAM TEST from ::ffff:0.0.0.0 (0.0.0.0) port 0 AF_INET to ::ffff:10.0.0.2 (10.0.0.2) port 0 AF_INET > Recv Send Send > Socket Socket Message Elapsed > Size Size Size Time Throughput > bytes bytes bytes secs. 10^6bits/sec > > 49152 49152 49152 10.00 2903.50 > rts{root}47: /opt/csw/bin/netperf -H 10.0.0.1 > TCP STREAM TEST from ::ffff:0.0.0.0 (0.0.0.0) port 0 AF_INET to ::ffff:10.0.0.1 (10.0.0.1) port 0 AF_INET > Recv Send Send > Socket Socket Message Elapsed > Size Size Size Time Throughput > bytes bytes bytes secs. 10^6bits/sec > > 49152 49152 49152 10.00 103.93 > > >> Once you are past that error, however, you should >> know that OpenSolaris has changed since the blog >> entry you are following was written, and cloned zones >> now need to share a ZFS dataset. The first step -- >> before you configure/install vnmbase -- is to do >> something like: >> >> # zfs create -o mountpoint=/vnm rpool/vnm >> # chmod 700 /vnm >> >> Where you are intending to do something like: >> >> set zonepath=/vnm/vnmbase >> ... >> set zonepath=/vnm/host1