[Pkg] [OpenIndiana Distribution - Bug #1204] zoneadm cannot create clone of zone from snapshot
illumos project
devnull at illumos.org
Fri Nov 15 02:35:26 UTC 2013
Issue #1204 has been updated by Jim Klimov.
File ips-clone.patch added
After addressing some review by Cedric Blancher (mostly to add comments, ultimately) and applying a few minor fixes such as ensuring that the new zone stays mounted even if it was not sys-unconfig'ed, I made this new patch.
----------------------------------------
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