ZFS CLONE OF NON-GLOBAL ZONE
Hi,
I would like to create a test zone (on the same host) from a snapshot of a current active zone without shutting down the active zone.
I already have the snapshot of the active zone.
The process I plan to follow is:
Add 40G Lun to host the test zone (same as active zone)
Create zpool, dataset and mount - for example
zfs set mountpoint=/zones/prodtestzone PRODTESTZONE/zoneroot
PRODTESTZONE/zoneroot /zones/prodtestzone
Copy and export the zone Config of active zone
zonecfg -z oraqwicprod export > prodtestzone.cfg
Edit the prodtestzone.cfg
Add new zone path and IP address, remove datasets, change resource values etc etc