[OmniOS-discuss] r151020 zone clone failure

Michael Talbott mtalbott at lji.org
Thu Nov 10 22:27:20 UTC 2016


Hi,

Since upgrading to the latest stable (from r151018 to r151020) it appears zone cloning is broken. This worked before the upgrade, but no such luck after the upgrade. I've tried uninstalling, removing the zone and all remnants, but, even after creating a fresh zone from scratch, configuring the new zone and then attempting the clone, this is failing as you can see below :( Any fixes or work arounds out there for this?

# cat /etc/release 
  OmniOS v11 r151020
  Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
  Use is subject to license terms.

# zonecfg -z sbp11
sbp11: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:sbp11> create -b
zonecfg:sbp11> set zonepath=/zones/sbp11
zonecfg:sbp11> set brand=ipkg
zonecfg:sbp11> set autoboot=true
zonecfg:sbp11> set ip-type=shared
zonecfg:sbp11> add net
zonecfg:sbp11:net> set address=10.0.5.11/16
zonecfg:sbp11:net> set physical=vlan1
zonecfg:sbp11:net> set defrouter=10.0.3.2
zonecfg:sbp11:net> end
zonecfg:sbp11> commit
zonecfg:sbp11> exit

# zoneadm list -c
global
sbp11

# zoneadm -z sbp11 install
A ZFS file system has been created for this zone.
       Image: Preparing at /zones/sbp11/root.

   Publisher: Using omnios (http://pkg.omniti.com/omnios/r151020/).
   Publisher: Using ms.omniti.com (http://pkg.omniti.com/omniti-ms/).
       Cache: Using /var/pkg/publisher.
  Installing: Packages (output follows)
Packages to install: 92
Mediators to change:  1
 Services to change:  4

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                              92/92   26031/26031  166.2/166.2  804k/s

PHASE                                          ITEMS
Installing new actions                   39567/39567
Updating package state database                 Done 
Updating package cache                           0/0 
Updating image state                            Done 
Creating fast lookup database                   Done 

        Note: Man pages can be obtained by installing pkg:/system/manual
 Postinstall: Copying SMF seed repository ... done.
        Done: Installation completed in 121.684 seconds.

  Next Steps: Boot the zone, then log into the zone console (zlogin -C)
              to complete the configuration process.

# zonecfg -z sbp12
sbp12: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:sbp12> create -b
zonecfg:sbp12> set zonepath=/zones/sbp12
zonecfg:sbp12> set brand=ipkg
zonecfg:sbp12> set autoboot=true
zonecfg:sbp12> set ip-type=shared
zonecfg:sbp12> add net
zonecfg:sbp12:net> set address=10.0.5.12/16
zonecfg:sbp12:net> set physical=vlan1
zonecfg:sbp12:net> set defrouter=10.0.3.2
zonecfg:sbp12:net> end
zonecfg:sbp12> commit
zonecfg:sbp12> exit

# zoneadm -z sbp12 clone sbp11
zone 'sbp12': "/usr/lib/fs/dev/mount -o attrdir=/zones/sbp12/root/dev /dev /zones/sbp12/lu/dev" failed with exit code 1
zoneadm: zone 'sbp12': call to zoneadmd failed
ERROR: Zone mount failed
ERROR: Unmounting zone
zoneadm: zone 'sbp12': must be mounted before unmount.


Thanks,

Michael




More information about the OmniOS-discuss mailing list