[OpenIndiana-discuss] Moving an OI zone between servers

Christopher X. Candreva chris at westnet.com
Wed Apr 16 19:12:48 UTC 2014


On Wed, 16 Apr 2014, Jim Klimov wrote:

> What i meant regarding zoned=off was actually that you set this and then 
> mount manually by either 'mount -F zfs' (for legacy) or 'zfs mount' (for 
> others).

Yes, that is what I did. It is mounted:
df output ...
rpool/zones                  183123204       32 183123172   1% /zones
rpool/zones/jacob            183123204       32 183123172   1% /zones/jacob
rpool/zones/jacob/ROOT/zbe-1 183944403   821231 183123172   1% /zones/jacob/root


What's odd is, zoneadm seems to be turning the zoned property off, but 
reports that eeror anyway:

chris at Zeb:/root# zfs get zoned rpool/zones/jacob/ROOT
NAME                    PROPERTY  VALUE  SOURCE
rpool/zones/jacob/ROOT  zoned     off    local
chris at Zeb:/root# zfs set zoned=on rpool/zones/jacob/ROOT
cannot mount '/usr/local': directory is not empty
property may be set but unable to remount filesystem

chris at Zeb:/root# zfs get zoned rpool/zones/jacob/ROOT
NAME                    PROPERTY  VALUE  SOURCE
rpool/zones/jacob/ROOT  zoned     on     local
chris at Zeb:/root# zoneadm -z Jacob attach
Log File: /var/tmp/Jacob.attach_log.LIaqUo
ERROR: Failed to configure dataset rpool/zones/jacob/ROOT: could not set zoned=off.
                    Result: Attach Failed.

chris at Zeb:/root# zfs get zoned rpool/zones/jacob/ROOT
NAME                    PROPERTY  VALUE  SOURCE
rpool/zones/jacob/ROOT  zoned     off    local





==========================================================
Chris Candreva  -- chris at westnet.com -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/



More information about the OpenIndiana-discuss mailing list