You can share a file system between the global zone and non-global zones by using LOFS mounts. This procedure uses the zonecfg command to add an LOFS mount of the global zone /export/datafiles file system to the my-zone configuration. This example does not customize the mount options.
You must be the global administrator or a user in the global zone with the Zone Security rights profile to perform this procedure.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
global# zonecfg -z my-zone
zonecfg:my-zone> add fs
zonecfg:my-zone:fs> set dir=/datafiles
zonecfg:my-zone:fs> set special=/export/datafiles
zonecfg:my-zone:fs> set type=lofs
zonecfg:my-zone:fs> end
zonecfg:my-zone> verify zonecfg:my-zone> commit
You can add LOFS file system mounts from the global zone without rebooting the non-global zone:
global# mount -F lofs /export/datafiles /export/my-zone/root/datafiles
To make this mount occur each time the zone boots, the zone's configuration must be modified using the zonecfg command.