[Pkg] [OpenIndiana Distribution - Bug #1204] zoneadm cannot create clone of zone from snapshot

illumos project devnull at illumos.org
Wed Nov 20 23:37:02 UTC 2013


Issue #1204 has been updated by Jim Klimov.

File sol10-clone.patch added

On a related note, here is a similar patch for "solaris10" branded zones (/usr/lib/brand/solaris10/clone which should be part of illumos-gate). Unfortunately, I can't create and test a solaris10 zone at the moment, so this patch is "theoretical" and untested. It supports the same logic for source snapshot naming and for optional avoidance of sys-unconfig (-X).
----------------------------------------
Bug #1204:  zoneadm cannot create clone of zone from snapshot
https://www.illumos.org/issues/1204

Author: Alexander Eremin
Status: Feedback
Priority: Normal
Assignee: OI PKG
Category: pkg (Image Packaging System)
Target version: 
Difficulty: Medium
Tags: clone


Bug from https://defect.opensolaris.org/bz/show_bug.cgi?id=5940 still exist, i.e.:

~# zoneadm -z test2 clone -s rpool/zones/test/ROOT/zbe-1 at test_snap
/usr/lib/brand/ipkg/clone: -s: unknown option

brand-specific usage: clone {sourcezone}
usage:	clone [-m method] [-s <ZFS snapshot>] [brand-specific args] zonename
	Clone the installation of another zone.  The -m option can be used to
	specify 'copy' which forces a copy of the source zone.  The -s option
	can be used to specify the name of a ZFS snapshot that was taken from
	a previous clone command.  The snapshot will be used as the source
	instead of creating a new ZFS snapshot.  All other arguments are passed
	to the brand clone function; see brands(5) for more information.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Pkg-team mailing list