Народ, хелп...Все делаю согласно правилам и инструкций., но не устанавливается новая зона. Не могу понять в чем тут дело. Вроде как все установил. Дал директории новой зоны права 700. Verify не нашла ошибку. А вот при инсталляции вылетает ошибка:
zoneadm -z work-zone install
A ZFS file system has been created for this zone.
Authority: Using http://pkg.opensolaris.org/release/.
Image: Preparing at /export/work-zone/root ...pkg: 0/1 catalogs successfully updated:
Could not retrieve catalog from 'opensolaris.org'
URLError, reason: (8, 'node name or service name not known')
failed to create image
rm: Unable to remove directory /export/work-zone/root: Device busy
zoneadm: zone 'work-zone': '/usr/bin/rm -rf' failed with exit code 2.
zoneadm: work-zone: cleaning up zonepath failed: Empty document
Более подробно см. ниже:
zonecfg -z work-zone
zonecfg:work-zone> create
Zone work-zone already exists; create anyway (y/[n])? y
zonecfg:work-zone> set zon
set zonename= set zonepath=
zonecfg:work-zone> set zonepath=/export/work-zone
zonecfg:work-zone> set autoboot=true
zonecfg:work-zone> add fs
zonecfg:work-zone:fs> set dir=/mnt/wzone
zonecfg:work-zone:fs> set special=/dev/dsk/c15d1s4
zonecfg:work-zone:fs> set raw=/dev/dsk/c15d1s5
zonecfg:work-zone:fs> set type=ufs
zonecfg:work-zone:fs> add options [logging]
zonecfg:work-zone:fs> end
zonecfg:work-zone> add inherit-pkg-dir
zonecfg:work-zone:inherit-pkg-dir> set dir=/usr/sfw
zonecfg:work-zone:inherit-pkg-dir> end
zonecfg:work-zone> verify
zonecfg:work-zone> commit
zonecfg:work-zone> exit
adm@osol:~# chmod 777 /export/work-zone/
adm@osol:~# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- work-zone configured /export/work-zone ipkg shared
- zone1 configured /virtual/1 ipkg shared
adm@osol:~# zoneadm -z work-zone install
/export/work-zone must not be group readable.
/export/work-zone must not be group writable.
/export/work-zone must not be group executable.
/export/work-zone must not be world readable.
/export/work-zone must not be world writable.
/export/work-zone must not be world executable.
could not verify zonepath /export/work-zone because of the above errors.
zoneadm: zone work-zone failed to verify
adm@osol:~# chmod 700 /export/work-zone/
adm@osol:~# zoneadm -z work-zone verify
adm@osol:~# zoneadm -z work-zone install
A ZFS file system has been created for this zone.
Authority: Using http://pkg.opensolaris.org/release/.
Image: Preparing at /export/work-zone/root ...pkg: 0/1 catalogs successfully updated:
Could not retrieve catalog from 'opensolaris.org'
URLError, reason: (8, 'node name or service name not known')
failed to create image
rm: Unable to remove directory /export/work-zone/root: Device busy
zoneadm: zone 'work-zone': '/usr/bin/rm -rf' failed with exit code 2.
zoneadm: work-zone: cleaning up zonepath failed: Empty document
adm@osol:~# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- work-zone incomplete /export/work-zone ipkg shared
- zone1 configured /virtual/1 ipkg shared
adm@osol:~# zoneadm -z work-zone ready
zoneadm: zone 'work-zone': must be installed before ready.
adm@osol:~# zoneadm -z work-zone boot
zoneadm: zone 'work-zone': must be installed before boot.