This is not "easy" nor "automatic" and might be more trouble than dealing
with images but is a way to clone....
- Take a Source VM disk snapshot (zfs snapshot zones/UUID-disk0@disk0)
- Obtain source VM configuration (vmadm get UUID)
- vmadm create (new kvm)
- zfs destroy zones/{new kvm}-disk0
- zfs clone zones/UUID-disk0@disk0 zones/{new kvm}-disk0
If desired you can then promote the file system with the obvious space
implications.
I've use this technique without a problem
Credit to Jorge.
On Fri, May 6, 2016 at 3:45 AM, Rupinder Singh Chugh <[email protected]>
wrote:
> An easy way to Clone KVM on SmartOS
> Kindly share the link ....
>
>
>
>
> Regards
> *Rupinder Singh*
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/27825507-82e246d1> |
> Modify
> <https://www.listbox.com/member/?&>
> Your Subscription <http://www.listbox.com>
>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com