Method for file system access inside non-global zone

Last published : Jun 10, 2026
File system mounts must meet one of the following two conditions:
  • Use a loopback file system with zone configuration. All mounts that the application uses must be part of the zone configuration and must be configured in the service group. For example, you can create a zone, z-ora, and define the file system containing the application's data to have the mount point as /oradata. When you create the zone, you can define a path in the global zone. An example is /export/home/oradata, which the mount directory in the non-global zone maps to. The MountPoint attribute of the Mount resource for the application is set to /export/home/oradata. Confirm that /export/home/oradata maps to /oradata with the zonecfg -z zone_name info command. You can also look into the zone configuration /etc/zones/zone_name.xml file. The Zone resource depends on the Mount resource.
  • Mount the file system inside zone's root-path. All file system mount points that the application uses that run in a zone must be set relative to the zone's root. For example, if the Oracle application uses /oradata, and you create the zone with the zonepath as /z_ora, then the mount must be /z_ora/root/oradata. The MountPoint attribute of the Mount resource must be set to this path. The Mount resource depends on the Zone resource.