[OmniOS-discuss] Zones problem after upgrade to latest Bloody

Matjaž M matjaz85 at gmail.com
Sat Jan 14 21:22:22 UTC 2017


Hi,

there seems to be a problem with (LX?) zones in the newest Bloody. It worked flawlessly before the update, it does not work after I updated to the latest bloody. 

This is the error I got:

matjaz at server:/export/home/matjaz$ sudo zoneadm -z lxzone boot
zone 'lxzone': "/usr/lib/fs/lofs/mount -o ro,nodevices,nosetuid,noexec /var/zonecontrol/lxzone /tank/zones/lxzone/root/native/.zonecontrol" failed with exit code 111
zoneadm: zone 'lxzone': call to zoneadmd failed

It seems that some directories are missing. After I created them manually, it worked:

matjaz at server:/export/home/matjaz$ sudo mkdir /var/zonecontrol
matjaz at server:/export/home/matjaz$ sudo zoneadm -z lxzone boot
zone 'lxzone': "/usr/lib/fs/lofs/mount -o ro,nodevices,nosetuid,noexec /var/zonecontrol/lxzone /tank/zones/lxzone/root/native/.zonecontrol" failed with exit code 111
zoneadm: zone 'lxzone': call to zoneadmd failed
matjaz at server:/export/home/matjaz$ sudo mkdir /var/zonecontrol/lxzone
matjaz at server:/export/home/matjaz$ sudo zoneadm -z lxzone boot

Note, before creating the directoriesI tried to recreate the zone from scratch and the error appeared again …

My zone config:

create -b
set zonepath=/tank/zones/lxzone
set brand=lx
set autoboot=false
set ip-type=exclusive
add fs
set dir=/data
set special=/tank/data
set type=lofs
end
add net
set physical=lxzone0
add property (name=gateway,value=“192.168.1.1")
add property (name=ips,value="192.168.1.77/24")
add property (name=primary,value="true")
end
add attr
set name=dns-domain
set type=string
set value=lxzone
end
add attr
set name=resolvers
set type=string
set value=192.168.1.1
end
add attr
set name=kernel-version
set type=string
set value=4.3.0
end

matjaz at server:/export/home/matjaz$ uname -a
SunOS server 5.11 omnios-a1b878a i86pc i386 i86pc


Best regards,
Matjaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170114/4b4ec36e/attachment-0001.html>


More information about the OmniOS-discuss mailing list