user10100495 wrote:Just so that I know specifically what you are running, can you give the output of "pkg list entire"?
got an intressting behavior when i try to create a new zone on solaris 11 x86
ERROR: no active dataset.Please provide the output of:
ERROR: Unable to mount zone root dataset.
those zfs datasets where created during the installation process:
rpool/zonepool/zt1 669M 221G 31K /rpool/zonepool/zt1
rpool/zonepool/zt1/rpool 669M 221G 31K /rpool
rpool/zonepool/zt1/rpool/ROOT 669M 221G 31K legacy
rpool/zonepool/zt1/rpool/ROOT/solaris 334M 221G 310M /
rpool/zonepool/zt1/rpool/ROOT/solaris-1 334M 221G 310M /
rpool/zonepool/zt1/rpool/ROOT/solaris-1/var 24.1M 221G 23.2M /var
rpool/zonepool/zt1/rpool/ROOT/solaris/var 24.1M 221G 23.2M /var
rpool/zonepool/zt1/rpool/export 62K 221G 31K /export
rpool/zonepool/zt1/rpool/export/home 31K 221G 31K /export/home
user10100495 wrote:That tells me that you are running with no SRUs (support repository updates) applied - that should be fine. One word of caution - it is best that you not cd to the zonepath or below (from the global zone) while doing zone operations. That will cause strange problems that will give rather vague "busy" errors that will likely be impossible to definitively diagnose after the fact.
root@ussol01:/rpool/zonepool/zt1# pkg list entire
NAME (PUBLISHER) VERSION IFO
entire 0.5.11-0.175.0.0.0.2.0 i--
--Those two file systems are the root file systems of two different zone boot environments (ZBEs). They are both associated with the same global zone BE. That global zone BE is the one that is mounted at /, which we can tell by looking at the ...:parentbe property above and the second field of the beadm output below. That's OK too. What the problem seems to be is that both of the ZBEs are active (org.opensolaris.libbe:active=on). This seems to imply that there were two invocations of 'zoneadm install' without a 'zoneadm uninstall' in between. That shouldn't have been allowed.
root@ussol01:/rpool/zonepool/zt1# zfs get -rs local,received all rpool/zonepool/zt1/rpool/ROOT
NAME PROPERTY VALUE SOURCE
rpool/zonepool/zt1/rpool/ROOT/solaris org.opensolaris.libbe:parentbe 361bd80b-945a-e78d-8697-b28c44a8b636 local
rpool/zonepool/zt1/rpool/ROOT/solaris org.opensolaris.libbe:active on local
rpool/zonepool/zt1/rpool/ROOT/solaris-1 org.opensolaris.libbe:parentbe 361bd80b-945a-e78d-8697-b28c44a8b636 local
rpool/zonepool/zt1/rpool/ROOT/solaris-1 org.opensolaris.libbe:active on local
root@ussol01:/rpool/zonepool/zt1# beadm list -HWhat does 'zoneadm -z zt1 list -v' say?