OpenSolaris

Printable Version Enter a New Search
Bug ID 6502014
Synopsis NFS mounts in non-global zones are unmounted if NFS is restarted in the global zone
State 11-Closed:Duplicate (Closed)
Category:Subcategory kernel:zones
Keywords zones
Responsible Engineer Pavel Filipensky
Reported Against s10u3_fcs
Duplicate Of 6779275
Introduced In solaris_10
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6430978 , 6512906 , 6610000 , 6777298 , 6777323 , 6779275
Submit Date 7-December-2006
Last Update Date 19-December-2008
Description
Solaris 10 update 2 with latest patch cluster 11/29, configured with a local zone. In the local zone the /etc/vfstab file has been updated to mount two NFS servers. The issue is when "ldapclient init" is run in the global zone it unmount the nfs mounts in the local zone and does not remount them. 

local-zone#  more /etc/vfstab
 #device         device          mount           FS      fsck    mount   mount
 #to mount       to fsck         point           type    pass    at boot options
 #
 /proc           -               /proc           proc    -       no      -
 ctfs            -       /system/contract        ctfs    -       no      -
 objfs           -       /system/object  objfs   -       no      -
 fd              -               /dev/fd         fd      -       no      -
 swap            -               /tmp            tmpfs   -       yes     -
 blade216:/export/home   -       /b216   nfs     -       yes     rw,bg,hard
 10.8.118.225:/export/home       -       /b225   nfs     -       yes     rw,bg,hard

local-zone# df
 .
 .
 /b216              (blade216:/export/home):49896094 blocks  3476574 files
 /b225              (10.8.118.225:/export/home):42011720 blocks  3240337 files

In the global zone run "ldapclient init"

#  ldapclient -v init  ...............

 Parsing proxydn=cn=proxyagent,ou=profile,dc=netadm,dc=com
 .
 .
 restart: milestone/name-services:default... success
 System successfully configured


Back in the local zone run df and the nfs mounts are no longer mounted.

local zone # df
   /                  (/                 ):45769204 blocks  3238094 files
   /dev               (/dev              ):45769204 blocks  3238094 files
   /lib               (/lib              ):45769204 blocks  3238094 files
   /platform          (/platform         ):45769204 blocks  3238094 files
   /sbin              (/sbin             ):45769204 blocks  3238094 files
   /usr               (/usr              ):45769204 blocks  3238094 files
   /proc              (proc              ):       0 blocks     7936 files
   /system/contract   (ctfs              ):       0 blocks 2147483580 files
   /etc/svc/volatile  (swap              ):  922720 blocks    72761 files
   /etc/mnttab        (mnttab            ):       0 blocks        0 files
   /dev/fd            (fd                ):       0 blocks        0 files
   /tmp               (swap              ):  922720 blocks    72761 files
   /var/run           (swap              ):  922720 blocks    72761 files



zone configuration:

# cat /etc/zones/zone-one.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="zone-one" zonepath="/zones/zone-one" autoboot="true">
 <inherited-pkg-dir directory="/lib"/>
 <inherited-pkg-dir directory="/platform"/>
 <inherited-pkg-dir directory="/sbin"/>
 <inherited-pkg-dir directory="/usr"/>
 <network address="10.8.118.227/24" physical="ce0"/>
</zone>
Work Around
N/A
Comments
N/A