Lines Matching refs:zbe

237 # claim_zbe zone zbe
239 # If the zbe belongs to the existing gzbe or the zbe was extracted from an
240 # archive and has not yet been attached, set it as the active zbe. Otherwise,
241 # clone it and set the clone to the active zbe.
251 typeset zbe=$2
254 init_dataset dss "${zone.ROOT_ds}/$zbe" || return 1
262 mount_active_be -b "$zbe" zone
267 clone_zbe zone "$zbe"
272 # clone_zbe [-u] zone zbe
274 # Clones a zbe within a zone and sets the new ZBE as the active BE for this
280 # zbe Name of the zone boot environment to clone.
291 # the root of the zbe.
292 # zone.zbe_cloned_from Set to the name of the zbe passed in
297 typeset zbe=$2
300 typeset dsn=${zone.ROOT_ds}/$zbe
302 [[ -z $zbe ]] && fail_internal "zbe not specified"
319 zone.active_ds=${zone.ROOT_ds}/$zbe
322 zone.zbe_cloned_from=$zbe
339 # zbe has $PROP_PARENT matching the UUID of an extant global zone BE, it is
465 typeset zbe="${activezbe[0]}"
467 mount_active_be -c -b "$zbe" zone
470 # If the zbe is not associated with any gzbe, do not clone it.
471 if [[ ${uuid2gzbe[${ngzbe[$zbe].parent}]} == "$missing_gzbe" ]]
473 mount_active_be -c -b "$zbe" zone
476 clone_zbe zone "$zbe"
488 typeset zbe="${!ngzbe[@]}"
490 mount_active_be -c -b "$zbe" zone
494 clone_zbe zone "$zbe"
500 typeset zbe
501 for zbe in "${!ngzbe[@]}" ; do
502 typeset uuid=${ngzbe[$zbe].parent}
505 typeset cuuid=${ngzbe[$zbe].candidate}
513 log "%-21s %-6s %s" "$zbe" "${ngzbe[$zbe].active}" "$bename"
542 [[ -z $be ]] && fail_internal "zbe not specified"
575 # once one of the candidate zbe's is attached.
734 # indexed) array with keys that match the zbe name. The
737 # Returns 0 if there is at least one zbe found
763 # See if the zbe is already associated with the GZBE