3 Replies Latest reply: Apr 9, 2013 11:34 AM by Cindys-Oracle RSS

    lucreate not working with ZFS and non-global zones

    1001977
      I replied to this thread: Re: lucreate and non-global zones as to not duplicate content, but for some reason it was locked. So I'll post here... I'm experiencing the exact same issue on my system. Below is the lucreate and zfs list output.

      # lucreate -n patch20130408

      Creating Live Upgrade boot environment...
      Analyzing system configuration.
      No name for current boot environment.
      INFORMATION: The current boot environment is not named - assigning name <s10s_u10wos_17b>.
      Current boot environment is named <s10s_u10wos_17b>.
      Creating initial configuration for primary boot environment <s10s_u10wos_17b>.
      INFORMATION: No BEs are configured on this system.
      The device </dev/dsk/c1t0d0s0> is not a root device for any boot environment; cannot get BE ID.
      PBE configuration successful: PBE name <s10s_u10wos_17b> PBE Boot Device </dev/dsk/c1t0d0s0>.
      Updating boot environment description database on all BEs.
      Updating system configuration files.
      Creating configuration for boot environment <patch20130408>.
      Source boot environment is <s10s_u10wos_17b>.
      Creating file systems on boot environment <patch20130408>.
      Populating file systems on boot environment <patch20130408>.
      Temporarily mounting zones in PBE <s10s_u10wos_17b>.
      Analyzing zones.
      WARNING: Directory </zones/APP> zone <global> lies on a filesystem shared between BEs, remapping path to </zones/APP-patch20130408>.
      WARNING: Device <tank/zones/APP> is shared between BEs, remapping to <tank/zones/APP-patch20130408>.
      WARNING: Directory </zones/DB> zone <global> lies on a filesystem shared between BEs, remapping path to </zones/DB-patch20130408>.
      WARNING: Device <tank/zones/DB> is shared between BEs, remapping to <tank/zones/DB-patch20130408>.
      Duplicating ZFS datasets from PBE to ABE.
      Creating snapshot for <rpool/ROOT/s10s_u10wos_17b> on <rpool/ROOT/s10s_u10wos_17b@patch20130408>.
      Creating clone for <rpool/ROOT/s10s_u10wos_17b@patch20130408> on <rpool/ROOT/patch20130408>.
      Creating snapshot for <rpool/ROOT/s10s_u10wos_17b/var> on <rpool/ROOT/s10s_u10wos_17b/var@patch20130408>.
      Creating clone for <rpool/ROOT/s10s_u10wos_17b/var@patch20130408> on <rpool/ROOT/patch20130408/var>.
      Creating snapshot for <tank/zones/DB> on <tank/zones/DB@patch20130408>.
      Creating clone for <tank/zones/DB@patch20130408> on <tank/zones/DB-patch20130408>.
      Creating snapshot for <tank/zones/APP> on <tank/zones/APP@patch20130408>.
      Creating clone for <tank/zones/APP@patch20130408> on <tank/zones/APP-patch20130408>.
      Mounting ABE <patch20130408>.
      Generating file list.
      Finalizing ABE.
      Fixing zonepaths in ABE.
      Unmounting ABE <patch20130408>.
      Fixing properties on ZFS datasets in ABE.
      Reverting state of zones in PBE <s10s_u10wos_17b>.
      Making boot environment <patch20130408> bootable.
      Population of boot environment <patch20130408> successful.
      Creation of boot environment <patch20130408> successful.


      # zfs list

      NAME USED AVAIL REFER MOUNTPOINT
      rpool 16.6G 257G 106K /rpool
      rpool/ROOT 4.47G 257G 31K legacy
      rpool/ROOT/s10s_u10wos_17b 4.34G 257G 4.23G /
      rpool/ROOT/s10s_u10wos_17b@patch20130408 3.12M - 4.23G -
      rpool/ROOT/s10s_u10wos_17b/var 113M 257G 112M /var
      rpool/ROOT/s10s_u10wos_17b/var@patch20130408 864K - 110M -
      rpool/ROOT/patch20130408 134M 257G 4.22G /.alt.patch20130408
      rpool/ROOT/patch20130408/var 26.0M 257G 118M /.alt.patch20130408/var
      rpool/dump 1.55G 257G 1.50G -
      rpool/export 63K 257G 32K /export
      rpool/export/home 31K 257G 31K /export/home
      rpool/h 2.27G 257G 2.27G /h
      rpool/security1 28.4M 257G 28.4M /security1
      rpool/swap 8.25G 257G 8.00G -
      tank 12.9G 261G 31K /tank
      tank/swap 8.25G 261G 8.00G -
      tank/zones 4.69G 261G 36K /zones
      tank/zones/DB 1.30G 261G 1.30G /zones/DB
      tank/zones/DB@patch20130408 1.75M - 1.30G -
      tank/zones/DB-patch20130408 22.3M 261G 1.30G /.alt.patch20130408/zones/DB-patch20130408
      tank/zones/APP 3.34G 261G 3.34G /zones/APP
      tank/zones/APP@patch20130408 2.39M - 3.34G -
      tank/zones/APP-patch20130408 27.3M 261G 3.33G /.alt.patch20130408/zones/APP-patch20130408