Guido Berhoerster wrote: > It seems to be impossible to do an image-update if there are > zones present. Today the Update Manager showed an available > update of the sunstudioexpress package and I tried to upgrade > which failed without a meaningful message. So I tried an > image-update on the command line which failed with a "unable to > create BE None" error. After some fiddling it turns out that I > cannot create new BEs at all. This looks like bug 4794, after > uninstalling and deleting the only non-global zone I had, the > BE creation and image-update went fine. Will this not be fixed > for the release? Is there any workaround besides deleting all > non-global zones befor an image-update? > This happens on a freshly installed RC2. >
This shouldn't be happening on a freshly installed RC2 system. If you fresh install RC2 and create zones, you should be able to image-update just fine (though the zones you created won't be udpated; you have to detach and re-attach them when you boot the updated BE. > Diagnostic output follows: > > # BE_PRINT_ERR=true beadm create testbe > be_get_uuid: failed to get uuid property from BE root dataset user properties. > be_copy_zones: failed to snapshot zone BE > (rpool/export/zones/testzone/ROOT/[EMAIL PROTECTED]): dataset is busy > This is a zfs bug and seems to happen randomly with zones. We saw it a couple times during development of ipkg zones support in the boot environment code. Its filed as 6462803 http://bugs.opensolaris.org/view_bug.do?bug_id=6462803 Does the workaround work for you? thanks, -ethan > be_copy: failed to process zones > be_copy: destroying partially created boot environment > Unable to create testbe. > Mount busy. > > # pkg version > 666742d60b75 > > # zoneadm list -ci > global > testzone > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 7.32G 38.5G 72.5K /rpool > rpool/ROOT 4.84G 38.5G 18K legacy > rpool/ROOT/opensolaris 4.84G 38.5G 4.71G / > rpool/dump 1023M 38.5G 1023M - > rpool/export 484M 38.5G 21K /export > rpool/export/home 247M 38.5G 19K /export/home > rpool/export/home/gber 247M 38.5G 247M /export/home/gber > rpool/export/zones 237M 38.5G 19K /export/zones > rpool/export/zones/testzone 237M 38.5G 21K > /export/zones/testzone > rpool/export/zones/testzone/ROOT 237M 38.5G 18K legacy > rpool/export/zones/testzone/ROOT/zbe 237M 38.5G 237M legacy > rpool/swap 1023M 39.3G 182M - > > # beadm list > BE Active Mountpoint Space Policy Created·········· > -- ------ ---------- ----- ------ -------·········· > opensolaris NR / 4.98G static 2008-11-22 16:01· > > # zoneadm list -ci > global > testzone > > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
