System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

Mounting File Systems in Zones

When file systems are mounted from within a zone, the nodevices option applies. For example, if a zone is granted access to a block device (/dev/dsk/c0t0d0s7) and a raw device (/dev/rdsk/c0t0d0s7) corresponding to a UFS file system, the file system is automatically mounted nodevices when mounted from within a zone. This rule does not apply to mounts specified through a zonecfg configuration.

Options for mounting file systems in non-global zones are described in the following table. Procedures for these mounting alternatives are provided in Configuring, Verifying, and Committing a Zone and Mounting File Systems in Running Non-Global Zones.

Any file system type not listed in the table can be specified in the configuration if it has a mount binary in /usr/lib/fstype/mount.

File System 

Mounting Options in a Non-Global Zone 

AutoFS 

Cannot be mounted using zonecfg, cannot be manually mounted from the global zone into a non-global zone. Can be mounted from within the zone.

CacheFS 

Cannot be used in a non-global zone. 

FDFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

HSFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

LOFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

MNTFS 

Cannot be mounted using zonecfg, cannot be manually mounted from the global zone into a non-global zone. Can be mounted from within the zone.

NFS 

Cannot be mounted using zonecfg. V2, V3, and V4, which are the versions currently supported in zones, can be mounted from within the zone.

PCFS  

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

PROCFS 

Cannot be mounted using zonecfg, cannot be manually mounted from the global zone into a non-global zone. Can be mounted from within the zone.

TMPFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

UDFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

UFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

XMEMFS 

Can be mounted using zonecfg, can be manually mounted from the global zone into a non-global zone, can be mounted from within the zone.

Support for this file system is being removed from the Solaris system in a future release. 

ZFS 

Can be mounted using the zonecfg dataset and fs resource types.

For more information, see How to Configure the Zone, Mounting File Systems in Running Non-Global Zones, and the mount(1M) man page.