[OpenIndiana-discuss] Zone configuration broken in Hipster 2015-10?

Stefan Müller-Wilken stefan.mueller-wilken at acando.de
Fri Nov 13 13:09:19 UTC 2015


Hi Alex,

the problem is reproducible for the machine. Could it be caused by the fact that this machine was upgraded from oi151_a9 following your tutorial?

Cheers
 Stefan

-----Ursprüngliche Nachricht-----
Von: Alexander Pyhalov [mailto:alp at rsu.ru]
Gesendet: Freitag, 13. November 2015 14:07
An: Discussion list for OpenIndiana
Cc: Stefan Müller-Wilken
Betreff: Re: [OpenIndiana-discuss] Zone configuration broken in Hipster 2015-10?

Hi.

On 11/13/2015 15:17, Stefan Müller-Wilken wrote:
>
> could it be that Hipster has a broken zone initialization code? In contrast to oi151_a9 I get errors ZFS dataset errors when initializing a new zone. I can manually create the zone and proceed but will ultimately fail with a zfs  mounting permission problem:
>
....
>


I don't know about similar problems with ipkg zones. Likely, you had /zones/myzone directory or something similar + some effects of overmounting. What happens if you uninstall the zone, destroy rpool/zones/myzone, rm -fr /zones/myzone and try to reinstall zone?

I've just checked...

# zfs list -r rpool/zones
NAME          USED  AVAIL  REFER  MOUNTPOINT
rpool/zones    19K  2.57G    19K  /zones
# zonecfg -z newzone
newzone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:newzone> create
zonecfg:newzone> set zonepath=/zones/newzone zonecfg:newzone> add net zonecfg:newzone:net> set physical=e1000g0 zonecfg:newzone:net> set address=my.ip/24 zonecfg:newzone:net> end zonecfg:newzone> verify zonecfg:newzone> commit zonecfg:newzone> exit # zoneadm -z newzone install A ZFS file system has been created for this zone.
....
# zoneadm -z newzone boot
# zlogin -C newzone
...
106/106
Hostname: newzone
Loading smf(5) service descriptions: 1/1 ...
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department


-----
Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | USt-IdNr.: DE208833022


More information about the openindiana-discuss mailing list