Dear List,

I'm facing the following problem

Zone configured with zoneroot and additional Filesytem in /opt

root@g0081:~# zoneadm list -cv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              solaris 
shared
   2 v0161            running    /zones/v0161                   solaris 
shared
root@g0081:~# zoneadm -z v0161 halt
root@g0081:~#  more /etc/zones/v0161.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN"
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
    DO NOT EDIT THIS FILE.  Use zonecfg(1M) instead.
-->
<zone name="v0161" zonepath="/zones/v0161" autoboot="true"
brand="solaris" ip-type="shared">
  <filesystem special="v0161_root/data/opt_MSP" directory="/opt/MSP"
type="zfs">
    <fsoption name="rw"/>
  </filesystem>
  <network physical="vnet1" address="192.168.100.161/24"
configure-allowed-address="true"/>
  <network physical="vnet0" address="192.168.20.161/24"
configure-allowed-address="true"/>
</zone>

This works fine.
If I add a additional Filesystem mounted on /var/adm/serverdocu I will
get the following Error message:

Boot Error:
root@g0081:~# zoneadm -z v0161 boot
*zone 'v0161': ERROR: unable to unmount /zones/v0161/root/var.*
zoneadm: zone 'v0161': call to zoneadmd failed

zone XML:
root@g0081:~#  more /etc/zones/v0161.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN"
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
    DO NOT EDIT THIS FILE.  Use zonecfg(1M) instead.
-->
<zone name="v0161" zonepath="/zones/v0161" autoboot="true"
brand="solaris" ip-type="shared">
  <filesystem special="v0161_root/data/opt_MSP" directory="/opt/MSP"
type="zfs">
    <fsoption name="rw"/>
  </filesystem>
*  <filesystem special="v0161_root/data/var_adm_serverdocu"
directory="/var/adm/serverdocu" type="zfs">
    <fsoption name="rw"/>
  </filesystem>*
  <network physical="vnet1" address="192.168.100.161/24"
configure-allowed-address="true"/>
  <network physical="vnet0" address="192.168.20.161/24"
configure-allowed-address="true"/>
</zone>


ZFS list:
root@g0081:~# zfs list | grep v0161
v0161_root                               311M  19.3G    31K  legacy
v0161_root/data                           93K  19.3G    31K  legacy
v0161_root/data/opt_MSP                   31K  50.0M    31K  legacy
v0161_root/data/var_adm_serverdocu        31K   150M    31K  legacy
v0161_root/root                          310M  3.70G    37K  /zones/v0161
v0161_root/root/rpool                    310M  3.70G    31K  /rpool
v0161_root/root/rpool/ROOT               310M  3.70G    31K  legacy
v0161_root/root/rpool/ROOT/solaris       310M  3.70G   284M 
/zones/v0161/root
v0161_root/root/rpool/ROOT/solaris/var  25.5M  3.70G  24.6M 
/zones/v0161/root/var
v0161_root/root/rpool/export              62K  3.70G    31K  /export
v0161_root/root/rpool/export/home         31K  3.70G    31K  /export/home
root@g0081:~#

Thank you for any hint

Regards Christian
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to