I have a Solaris 10 box configured with a global zone and 3 non-global zones. All of the zones need to be configured so they can access and run an application in the global zone located at /export/home. How do i make this application and all of its accompanying files available to the 3 non-global zones?
example from man zonecfg
zonecfg:myzone3> add fs
zonecfg:myzone3:fs> set dir=/export/home
zonecfg:myzone3:fs> set special=/export/home
zonecfg:myzone3:fs> set type=lofs
zonecfg:myzone3:fs> add options [ro,nodevices]
zonecfg:myzone3:fs> end
after just use commit or reboot zone
These changes need to be made on each zone and then added to the configuration by using the commit command. Is that correct? Will having the two export/home directories cause any problems with the zone configurations (mounted /export/home and export/home that currently exists on the zones)?
Yes. The commit command isn't strictly necessary as it is done anyway automatically when you quite zonecfg.
Yes. They will hide the previous /export/home content that might exist in the non global zones. Specify the subdirectory containing the application to avoid this issue.