[bugs] [illumos gate - Bug #1204] zoneadm cannot create clone of zone from snapshot

illumos bugs bugs at lists.illumos.org
Wed Jul 20 07:12:25 PDT 2011


Issue #1204 has been updated by Alexander Eremin.


while pkg doesn't provide these options in brand "clone" script, we must do not use brand hook or remove this call from zoneadm..
----------------------------------------
Bug #1204:  zoneadm cannot create clone of zone from snapshot
https://www.illumos.org/issues/1204

Author: Alexander Eremin
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Difficulty: Medium
Tags: needs-triage


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 bugs mailing list