[OmniOS-discuss] How do I rename a zone (including pool paths)?
Graham Stephens
graham at thestephensdomain.com
Fri Jun 19 20:35:35 UTC 2015
On 19/06/2015 17:12, John D Groenveld wrote:
> In message <558431D3.5050106 at thestephensdomain.com>, Graham Stephens writes:
>> Seems a simple question, but I've tried:
>
> Try kludging it via the zone migration recipe.
> # zoneadm -z foo detach
> # zonecfg -z foo export >/root/bar.zonecfg
> ... fix zonepath
> # zfs set zoned=off zones/foo/ROOT
> # zfs rename zones/foo zones/bar
> # zfs set zoned=on zones/bar/ROOT
> # zfs set mountpoint=/zones/bar zones/bar
> # zfs set mountpoint=/zones/bar/root zones/bar/ROOT/zbe-1
> # zonecfg -z bar -f /root/bar.zonecfg
> # zoneadm -z bar attach
>
> John
> groenveld at acm.org
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
Thanks John.
I did have some trouble with the mountpoint - I don't know why - but
retrying the commands a few times got there eventually.
Cheers.
More information about the OmniOS-discuss
mailing list