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

Alexander Pyhalov alp at rsu.ru
Fri Nov 13 13:06:40 UTC 2015


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



More information about the openindiana-discuss mailing list