I just did the same on s10u9 vbox bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 22.1G 7.88G 34K /rpool rpool/ROOT 12.1G 7.88G 21K legacy rpool/ROOT/s10x_u9wos_13 12.1G 7.88G 12.1G / rpool/dump 1.00G 7.88G 1.00G - rpool/export 7.51G 7.88G 5.91G /export rpool/export/home 1.60G 7.88G 1.60G /export/home rpool/swap 1.50G 7.88G 1.50G - zpool 5.11G 14.4G 21K /zpool zpool/zones 5.11G 14.4G 5.11G /zones bash-3.00# zonecfg -z test1 test1: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:test1> create zonecfg:test1> set zonepath=/zones/roots/test1 zonecfg:test1> verify zonecfg:test1> commit zonecfg:test1> exit bash-3.00# zoneadm -z test1 install Preparing to install zone <test1>. Creating list of files to copy from the global zone. Copying <16658> files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize <1128> packages on the zone. Initialized <1128> packages on zone. Zone <test1> is initialized.The file </zones/roots/test1/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
On 9/6/2011 1:39 PM, Mike Gerdts wrote:
On Tue 06 Sep 2011 at 10:09AM, Jeremy Loukinas wrote:First: root@opensolaris:~# zfs mount rpool/ROOT/opensolaris-1 / rpool/export /export rpool/export/home /export/home rpool /rpool zpool/zones /zones zpool /zpool root@opensolaris:~# Second: root@opensolaris:~# zonecfg -z test2 test2: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:test2> create zonecfg:test2> set zonepath=/zones/roots/test2 zonecfg:test2> exit root@opensolaris:~# zoneadm -z test2 install ERROR: the zonepath must be a ZFS dataset. The parent directory of the zonepath must be a ZFS dataset so that the zonepath ZFS dataset can be created properly. root@opensolaris:~# Am i missing something here? I found another post but it was from someone trying to create a zone in rpool..If you did: zonecfg -z test2 'set zonepath=/zones/test2' all would be well. Alternatively, if you really want the zonepath to /zones/roots/test2: zfs create zones/roots
<<attachment: laotsao.vcf>>
_______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org