[OmniOS-discuss] Zones problem after upgrade to latest Bloody
Dan McDonald
danmcd at omniti.com
Sun Jan 15 03:10:14 UTC 2017
Known problem. I thought it was fixed in the gate but not yet. See this commit:
https://github.com/omniti-labs/illumos-omnios/commit/fb8fa9d90507920e5b8143fe668b175817d4ba1a
I need to back that out. You can edit platform.xml by hand and patch it yourself too.
Dan
Sent from my iPhone (typos, autocorrect, and all)
> On Jan 14, 2017, at 4:22 PM, Matjaž M <matjaz85 at gmail.com> wrote:
>
> 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
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170114/8d259950/attachment.html>
More information about the OmniOS-discuss
mailing list