Actually I’ve been able to do this with KVM VM’s no problem.

I guess I forgot to mention that it is an LX branded zone.

I’ve tried renaming the dataset using ZFS rename but it doesn’t allow me to do 
so due to the zone being configured in zoneadm.

I was hoping it would be an easy vmadm update but I guess I’m going to have to 
go dig into the zonecfg/zoneadm.

Thanks for the response!

From: smartos-discuss <[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Tuesday, December 12, 2017 at 4:30 PM
To: John Barfield <[email protected]>
Subject: Digest for smartos-discuss

- Spin up a new vm with the same size and shape of the "original" one. That'll 
have a new uuid, obviously. Call that the "sacrificial" vm. - Shut that new vm 
down with vmadm. - zfs list and find the names of the new sacrificial vm's 
disks (zvols). Note those names. - zfs destroy those zvols. - zfs rename your 
"original" zvols to match the new uuid. - now you have a new vm with a new 
uuid, with the storage cloned from the original. [ trailing quoted section 
removed ]



[mage removed by sender.]<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

Reply via email to