[OpenIndiana-discuss] Moving zone

Jonathan Adams t12nslookup at gmail.com
Wed Oct 14 20:35:20 UTC 2015


I remember moving a zone in a terrible hacky way in the past ...

run a "zoneadm -z <zone> detach", move the zfs the old fashioned way (zfs
send/receive) zonecfg -z <zone> and change the location, then zfs attach it
back in again.

not sure how to (un)do what you've done though ...

Jon

On 14 October 2015 at 20:31, the outsider <openindiana at out-side.nl> wrote:

> I tried to move a zone from the basic rpool ZFS system to a larger ZFS
> system on the same machine.
>
>
>
> (The name of my zone is "zonegate", the large ZFS system is called
> largetank
> )
>
> Since there are many different "manuals" on the internet and I tried one
> which told to do "zoneadm -z zonegate move.
>
>
>
> But this resulted in a partially moved zone. Which states:
>
>
>
> ZFS list
>
> rpool/zones/zonegate                      9.90G  19.9G    33K
> /largetank/zones/zonegate
>
> rpool/zones/zonegate/ROOT                 9.90G  19.9G    31K  legacy
>
> rpool/zones/zonegate/ROOT/zbe             9.90G  19.9G  3.11G  legacy
>
> rpool/zones/zonegate/ROOT/zbe-1           85.5K  19.9G  1.96G  legacy
>
>
>
> So i messed up bigtime.
>
> And this zone is very important for its data, so I can't afford to make
> mistakes.
>
>
>
> What is the best thing to do?
>
>
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the openindiana-discuss mailing list