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. 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 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 -- Guido Berhoerster _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
