(Obligatory reminder that vmadm send/receive are not supported, considered
experimental, etc, and to use your judgement depending on what and how
badly is failing.)

Looking at the error, first thing I'd do is check who actually owns
/zones/a701146d-3790-4150-92b8-3e30731b7b34/root ? (And I assume you're
running command as root or sudo'ed)

Also, hardware availability/transfer speed allowing, I'd try vmadm send-ing
(through gzip or whatnot) to a local drive or known working, mounted NFS
share or similar, for simplicity/troubleshooting.

If that doesn't work, you might try creating an image out of the zone,
using "imgadm create". Not as handy as vmadm send, but still nicer than
manually copying data out of a running zone.

On Tue, Oct 10, 2017 at 7:44 AM, Chad M Stewart <[email protected]> wrote:

> I’m trying to move a bunch of zones from a failing server to a new one.
>
> Both are running the same SmartOS version  (I’m using this version as I
> want to use project-fifo and from what I read this is the latest version
> suggested.)
>
> # uname -a
> SunOS chat 5.11 joyent_20170330T015208Z i86pc i386 i86pc
>
>
> ** original host **
>
> UUID                                  TYPE  RAM      VCPUS  NICS.0.IP
>        STATE
> a701146d-3790-4150-92b8-3e30731b7b34  OS    2024     -      10.0.0.12
>          stopped
>
> # zfs list |grep a70
> zones/a701146d-3790-4150-92b8-3e30731b7b34                    1.14G
>  553G  1.94G  /zones/a701146d-3790-4150-92b8-3e30731b7b34
>
> # vmadm send -v  a701146d-3790-4150-92b8-3e30731b7b34 | ssh 10.0.0.3
> vmadm receive -v
> Successfully sent VM a701146d-3790-4150-92b8-3e30731b7b34
> Command failed: /zones/a701146d-3790-4150-92b8-3e30731b7b34/root is not
> owned by root.
> could not verify zonepath /zones/a701146d-3790-4150-92b8-3e30731b7b34
> because of the above errors.
> zoneadm: zone a701146d-3790-4150-92b8-3e30731b7b34 failed to verify
>
>
>
>
> ** destination system **
>
> UUID                                  TYPE  RAM      VCPUS  NICS.0.IP
>        STATE
> a701146d-3790-4150-92b8-3e30731b7b34  OS    2024     -      10.0.0.12
>          receiving
>
>
> # zfs list |grep a70
> zones/a701146d-3790-4150-92b8-3e30731b7b34        1.96G   466G  1.96G
> /zones/a701146d-3790-4150-92b8-3e30731b7b34
> 
> I’ve tried multiple times, before each repeated attempt I wipe out the zfs
> dataset on the destination system, otherwise I get a different error.  I’m
> stumped at the moment and open to suggestions.
> 
> Thank you,
> Chad
> 



-------------------------------------------
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