1 Reply Latest reply: Aug 12, 2013 3:58 AM by 809910 RSS

    Error on booting the cloned branded zone

    809910

      $ sudo zoneadm -z s10-zone1 halt

      $ sudo zonecfg -z s10-zone1 export

      create -b

      set brand=solaris10

      set zonepath=/zones/s10-zone1

      set autoboot=true

      set ip-type=exclusive

      set hostid=8402a486

      add net

      set configure-allowed-address=true

      set physical=s10zone1

      end

      add anet

      set linkname=net0

      set lower-link=auto

      set configure-allowed-address=true

      set link-protection=mac-nospoof

      set mac-address=random

      end

      $ sudo zonecfg -z s10-zone1 export > s10-zone2.cfg

      <Edit s10-zone2.cfg to replace string "s10-zone1" to "s10-zone2"

      $ sudo zoneadm -z s10-zone2 clone s10-zone1

      WARNING: skipping network interface 's10zone2': object not found

      The following ZFS file system(s) have been created:

          rpool/zones/s10-zone2

      Progress being logged to /var/log/zones/zoneadm.20130808T071349Z.s10-zone2.clone

      ERROR: Zone boot failed

      ERROR: format argument undefined

      --

       

      The detailed log is:

      -------------

      WARNING: skipping network interface 's10zone2': object not found

      zone 's10-zone2': failed to add network device

      zoneadm: zone 's10-zone2': call to zoneadmd failed

      [Thursday, August  8, 2013 01:12:21 PM IST] ERROR: Zone boot failed

      ERROR: Error: sys-unconfig failed.

      Unrecoverable internal error:

              fail_internal[136]:

              error[68]:

              /usr/lib/brand/solaris10/clone[16]:

      [Thursday, August  8, 2013 01:12:21 PM IST] ERROR: format argument undefined

       

      The error seems to be related to sys-unconfig.. I searched for it but could not find any viable solution. Please help.